From e34f1363143bb200b44d0b6423421d507d7f19b3 Mon Sep 17 00:00:00 2001 From: NoFantasy Date: Sun, 3 Jan 2010 19:02:47 +0100 Subject: [PATCH] [9108] Adjust max nextMoveTime to 10000+totalTravelTime for random movement This is apparently closer to how the world should look like, which is still of course a best guesstimate. Signed-off-by: NoFantasy --- src/game/RandomMovementGenerator.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/RandomMovementGenerator.cpp b/src/game/RandomMovementGenerator.cpp index bb7b1ab93..5965cfedf 100644 --- a/src/game/RandomMovementGenerator.cpp +++ b/src/game/RandomMovementGenerator.cpp @@ -95,7 +95,7 @@ RandomMovementGenerator::_setRandomLocation(Creature &creature) //else if (is_water_ok) // Swimming mode to be done with more than this check else { - i_nextMoveTime.Reset(urand(500+i_destinationHolder.GetTotalTravelTime(),5000+i_destinationHolder.GetTotalTravelTime())); + i_nextMoveTime.Reset(urand(500+i_destinationHolder.GetTotalTravelTime(),10000+i_destinationHolder.GetTotalTravelTime())); creature.AddMonsterMoveFlag(MONSTER_MOVE_WALK); } } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index f39d14e5b..f85544fa3 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "9107" + #define REVISION_NR "9108" #endif // __REVISION_NR_H__