* fixed: possible assertion failure caused by not updated map pos. thx bLuma!

This commit is contained in:
false_genesis 2008-01-22 18:31:09 +00:00
parent f879006477
commit 1d12dbed90

View File

@ -52,14 +52,15 @@ void World::Update(void)
void World::UpdatePos(float x, float y, uint32 m) void World::UpdatePos(float x, float y, uint32 m)
{ {
UpdatePos(x,y);
_mapId = m; _mapId = m;
UpdatePos(x,y);
} }
void World::UpdatePos(float x, float y) void World::UpdatePos(float x, float y)
{ {
_x = x; _x = x;
_y = y; _y = y;
Update();
} }
float World::GetPosZ(float x, float y) float World::GetPosZ(float x, float y)