diff options
author | megamage <none@none> | 2009-05-25 12:05:23 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-05-25 12:05:23 -0500 |
commit | c2588042e933b763b1dbb1cd3793a9bf25822da3 (patch) | |
tree | 4c13e36f377b856c97b749cfcf6d64b8360ebb82 /src/game/RandomMovementGenerator.cpp | |
parent | 2478087b5cd632c53add5e14f70c826150474e08 (diff) |
*Move some random generator functions to map class: functions in map/object/movementgenerator/spell
--HG--
branch : trunk
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) |