Fix warnings from merged pull requests.

This commit is contained in:
QAston
2011-08-21 11:59:06 +02:00
parent 4f1864cfe9
commit 3476767eb0
3 changed files with 3 additions and 3 deletions

View File

@@ -511,13 +511,13 @@ public:
if( pz )
{
z = (float)atof(pz);
if (!MapManager::IsValidMapCoord(mapid, x, y, z))
{
handler->PSendSysMessage(LANG_INVALID_TARGET_COORD, x, y, mapid);
handler->SetSentErrorMessage(true);
return false;
}
z = (float)atof(pz);
}
else
{