Core: Continued cleanup
If and for whitespaces.
This commit is contained in:
@@ -177,9 +177,9 @@ bool ChatHandler::HandleGPSCommand(const char* args)
|
||||
uint32 have_map = Map::ExistMap(obj->GetMapId(), gx, gy) ? 1 : 0;
|
||||
uint32 have_vmap = Map::ExistVMap(obj->GetMapId(), gx, gy) ? 1 : 0;
|
||||
|
||||
if(have_vmap)
|
||||
if (have_vmap)
|
||||
{
|
||||
if(map->IsOutdoors(obj->GetPositionX(), obj->GetPositionY(), obj->GetPositionZ()))
|
||||
if (map->IsOutdoors(obj->GetPositionX(), obj->GetPositionY(), obj->GetPositionZ()))
|
||||
PSendSysMessage("You are outdoors");
|
||||
else
|
||||
PSendSysMessage("You are indoors");
|
||||
|
||||
Reference in New Issue
Block a user