From 26b5e033ffde3d161382fc9addbfa99738379641 Mon Sep 17 00:00:00 2001 From: maximius Date: Sat, 17 Oct 2009 15:35:07 -0700 Subject: *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 --- src/game/RandomMovementGenerator.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/game/RandomMovementGenerator.h') 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 TRINITY_DLL_SPEC RandomMovementGenerator : public MovementGeneratorMedium< T, RandomMovementGenerator > @@ -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 > i_destinationHolder; float wander_distance; uint32 i_nextMove; -- cgit v1.2.3