*Move some random generator functions to map class: functions in map/object/movementgenerator/spell
--HG-- branch : trunk
This commit is contained in:
1 parent
2478087b5c
commit
c2588042e9
7 files changed
+36
-25
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user