aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Maps/Map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/game/Maps/Map.h')
-rw-r--r--src/server/game/Maps/Map.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/server/game/Maps/Map.h b/src/server/game/Maps/Map.h
index 825ac8683e0..509120d04af 100644
--- a/src/server/game/Maps/Map.h
+++ b/src/server/game/Maps/Map.h
@@ -32,7 +32,6 @@
#include "SharedDefines.h"
#include "GridRefManager.h"
#include "MapRefManager.h"
-#include "SFMT.h"
#include <bitset>
#include <list>
@@ -426,15 +425,6 @@ class Map : public GridRefManager<NGridType>
void UpdateIteratorBack(Player *player);
-#ifdef MAP_BASED_RAND_GEN
- SFMTRand sfmtRand;
- int32 irand(int32 min, int32 max) { return int32(sfmtRand.IRandom(min, max)); }
- uint32 urand(uint32 min, uint32 max) { return uint32(sfmtRand.URandom(min, max)); }
- int32 rand32() { return int32(sfmtRand.BRandom()); }
- double rand_norm() { return sfmtRand.Random(); }
- double rand_chance() { return sfmtRand.Random() * 100.0; }
-#endif // MAP_BASED_RAND_GEN
-
TempSummon *SummonCreature(uint32 entry, const Position &pos, SummonPropertiesEntry const *properties = NULL, uint32 duration = 0, Unit *summoner = NULL, uint32 vehId = 0);
Creature* GetCreature(uint64 guid);
GameObject* GetGameObject(uint64 guid);