*Move some random generator functions to map class: functions in map/object/movementgenerator/spell

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-25 12:05:23 -05:00
parent 2478087b5c
commit c2588042e9
7 changed files with 36 additions and 25 deletions

View File

@@ -24,6 +24,11 @@
#include "ConfusedMovementGenerator.h"
#include "DestinationHolderImp.h"
#ifdef MAP_BASED_RAND_GEN
#define rand_norm() unit.rand_norm()
#define urand(a,b) unit.urand(a,b)
#endif
template<class T>
void
ConfusedMovementGenerator<T>::Initialize(T &unit)