[12709] Add some safety to some preprocessor defines (original author @Schmoozerd)

This commit is contained in:
sanctum32 2013-10-21 17:24:16 +03:00 committed by Antz
parent b077ec4fe3
commit 8f8068714c
4 changed files with 4 additions and 4 deletions

View file

@ -34,7 +34,7 @@ class Creature;
class ThreatManager; class ThreatManager;
struct SpellEntry; 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 // Class to calculate the real threat based

View file

@ -33,7 +33,7 @@
#include <set> #include <set>
#define FLIGHT_TRAVEL_UPDATE 100 #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> template<class T, class P>
class MANGOS_DLL_SPEC PathMovementBase class MANGOS_DLL_SPEC PathMovementBase

View file

@ -35,7 +35,7 @@ class SqlStmtParameters;
class SqlParamBinder; class SqlParamBinder;
class Database; class Database;
#define MAX_QUERY_LEN 32*1024 #define MAX_QUERY_LEN (32*1024)
// //
class MANGOS_DLL_SPEC SqlConnection class MANGOS_DLL_SPEC SqlConnection

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "12708" #define REVISION_NR "12709"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__