[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.
This commit is contained in:
VladimirMangos 2010-11-10 06:11:07 +03:00
parent 4dc943aaa8
commit c1427f7d83
2 changed files with 3 additions and 3 deletions

View file

@ -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_);
}

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10715"
#define REVISION_NR "10716"
#endif // __REVISION_NR_H__