Core/Misc: fix warnings

This commit is contained in:
ariel-
2016-02-21 19:00:28 -03:00
parent c1dc9affcf
commit 2de8d6b4bb
3 changed files with 1 additions and 18 deletions

View File

@@ -1075,13 +1075,6 @@ public:
return false;
}
if (area->exploreFlag < 0)
{
handler->SendSysMessage(LANG_BAD_VALUE);
handler->SetSentErrorMessage(true);
return false;
}
int32 offset = area->exploreFlag / 32;
if (offset >= PLAYER_EXPLORED_ZONES_SIZE)
{
@@ -1119,13 +1112,6 @@ public:
return false;
}
if (area->exploreFlag < 0)
{
handler->SendSysMessage(LANG_BAD_VALUE);
handler->SetSentErrorMessage(true);
return false;
}
int32 offset = area->exploreFlag / 32;
if (offset >= PLAYER_EXPLORED_ZONES_SIZE)
{