mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Fix warnings from merged pull requests.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user