From c1427f7d83a926776acda4a19a4dfa9c0ed03c8b Mon Sep 17 00:00:00 2001 From: VladimirMangos Date: Wed, 10 Nov 2010 06:11:07 +0300 Subject: [PATCH] [10716] Typo show commit before revet all realddiff one more time. Typos show that in fact "working" has been result typos diabled state for relamd. Cell-based way have not avoidable problems with case when object added to not active long time Cell. If someone find more working sollution it can be readded ofc. --- src/game/Map.cpp | 4 ++-- src/shared/revision_nr.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/Map.cpp b/src/game/Map.cpp index 24ae1c181..25045e0d9 100644 --- a/src/game/Map.cpp +++ b/src/game/Map.cpp @@ -555,7 +555,7 @@ void Map::Update(uint32 time_, uint32 diff) if (loaded(cell.gridPair()) ) { GridType& celldata = (*getNGrid(cell.GridX(), cell.GridY()))(cell.CellX(), cell.CellY()); - uint32 realdiff = getMSTimeDiff(celldata.GetLastUpdateTime(), time_); + realdiff = getMSTimeDiff(celldata.GetLastUpdateTime(), time_); celldata.SetLastUpdateTime(time_); } @@ -609,7 +609,7 @@ void Map::Update(uint32 time_, uint32 diff) if (loaded(cell.gridPair()) ) { GridType& celldata = (*getNGrid(cell.GridX(), cell.GridY()))(cell.CellX(), cell.CellY()); - uint32 realdiff = getMSTimeDiff(celldata.GetLastUpdateTime(), time_); + realdiff = getMSTimeDiff(celldata.GetLastUpdateTime(), time_); celldata.SetLastUpdateTime(time_); } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 7cc3cc68e..632eebca0 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 "10715" + #define REVISION_NR "10716" #endif // __REVISION_NR_H__