diff options
Diffstat (limited to 'src/game/RandomMovementGenerator.cpp')
-rw-r--r-- | src/game/RandomMovementGenerator.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/RandomMovementGenerator.cpp b/src/game/RandomMovementGenerator.cpp index 93e10ad6115..46a3b6086db 100644 --- a/src/game/RandomMovementGenerator.cpp +++ b/src/game/RandomMovementGenerator.cpp @@ -41,6 +41,10 @@ RandomMovementGenerator<Creature>::GetDestination(float &x, float &y, float &z) return true; } +#ifdef MAP_BASED_RAND_GEN +#define rand_norm() creature.rand_norm() +#endif + template<> void RandomMovementGenerator<Creature>::_setRandomLocation(Creature &creature) |