mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 01:37:00 +00:00
[12709] Add some safety to some preprocessor defines (original author @Schmoozerd)
This commit is contained in:
parent
b077ec4fe3
commit
8f8068714c
4 changed files with 4 additions and 4 deletions
|
|
@ -34,7 +34,7 @@ class Creature;
|
|||
class ThreatManager;
|
||||
struct SpellEntry;
|
||||
|
||||
#define THREAT_UPDATE_INTERVAL 1 * IN_MILLISECONDS // Server should send threat update to client periodically each second
|
||||
#define THREAT_UPDATE_INTERVAL (1 * IN_MILLISECONDS) // Server should send threat update to client periodically each second
|
||||
|
||||
//==============================================================
|
||||
// Class to calculate the real threat based
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
#include <set>
|
||||
|
||||
#define FLIGHT_TRAVEL_UPDATE 100
|
||||
#define STOP_TIME_FOR_PLAYER 3 * MINUTE * IN_MILLISECONDS // 3 Minutes
|
||||
#define STOP_TIME_FOR_PLAYER (3 * MINUTE * IN_MILLISECONDS) // 3 Minutes
|
||||
|
||||
template<class T, class P>
|
||||
class MANGOS_DLL_SPEC PathMovementBase
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ class SqlStmtParameters;
|
|||
class SqlParamBinder;
|
||||
class Database;
|
||||
|
||||
#define MAX_QUERY_LEN 32*1024
|
||||
#define MAX_QUERY_LEN (32*1024)
|
||||
|
||||
//
|
||||
class MANGOS_DLL_SPEC SqlConnection
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "12708"
|
||||
#define REVISION_NR "12709"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue