diff options
| author | maximius <none@none> | 2009-10-17 15:35:07 -0700 |
|---|---|---|
| committer | maximius <none@none> | 2009-10-17 15:35:07 -0700 |
| commit | 26b5e033ffde3d161382fc9addbfa99738379641 (patch) | |
| tree | a344f369ca32945f787a02dee35c3dbe342bed7e /src/game/RandomMovementGenerator.h | |
| parent | f21f47005dcb6b76e1abc9f35fbcd03eed191bff (diff) | |
*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
*Fix a possible crash in Spell::DoAllEffectOnTarget
--HG--
branch : trunk
Diffstat (limited to 'src/game/RandomMovementGenerator.h')
| -rw-r--r-- | src/game/RandomMovementGenerator.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/game/RandomMovementGenerator.h b/src/game/RandomMovementGenerator.h index 20afe23d375..0be58541b3f 100644 --- a/src/game/RandomMovementGenerator.h +++ b/src/game/RandomMovementGenerator.h @@ -17,14 +17,11 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ - #ifndef TRINITY_RANDOMMOTIONGENERATOR_H #define TRINITY_RANDOMMOTIONGENERATOR_H - #include "MovementGenerator.h" #include "DestinationHolder.h" #include "Traveller.h" - template<class T> class TRINITY_DLL_SPEC RandomMovementGenerator : public MovementGeneratorMedium< T, RandomMovementGenerator<T> > @@ -32,7 +29,6 @@ class TRINITY_DLL_SPEC RandomMovementGenerator public: // Wander dist is related on db spawn dist. So what if we wanna set eandom movement on summoned creature?! RandomMovementGenerator(float spawn_dist = 0.0f) : i_nextMoveTime(0), wander_distance(spawn_dist) {} - void _setRandomLocation(T &); void Initialize(T &); void Finalize(T &); @@ -46,7 +42,6 @@ class TRINITY_DLL_SPEC RandomMovementGenerator MovementGeneratorType GetMovementGeneratorType() { return RANDOM_MOTION_TYPE; } private: TimeTrackerSmall i_nextMoveTime; - DestinationHolder< Traveller<T> > i_destinationHolder; float wander_distance; uint32 i_nextMove; |
