* fixed: possible assertion failure caused by not updated map pos. thx bLuma!
This commit is contained in:
parent
f879006477
commit
1d12dbed90
@ -52,14 +52,15 @@ void World::Update(void)
|
||||
|
||||
void World::UpdatePos(float x, float y, uint32 m)
|
||||
{
|
||||
UpdatePos(x,y);
|
||||
_mapId = m;
|
||||
UpdatePos(x,y);
|
||||
}
|
||||
|
||||
void World::UpdatePos(float x, float y)
|
||||
{
|
||||
_x = x;
|
||||
_y = y;
|
||||
Update();
|
||||
}
|
||||
|
||||
float World::GetPosZ(float x, float y)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user