mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[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:
parent
4dc943aaa8
commit
c1427f7d83
2 changed files with 3 additions and 3 deletions
|
|
@ -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_);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "10715"
|
||||
#define REVISION_NR "10716"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue