Drop characters data blob. Bit thx to hunuza.

--HG--
branch : trunk
This commit is contained in:
n0n4m3
2010-04-11 11:00:02 +04:00
parent 420496c92a
commit 1dc4f7c745
6 changed files with 164 additions and 192 deletions
+3 -3
View File
@@ -4719,7 +4719,7 @@ bool ChatHandler::HandleExploreCheatCommand(const char *args)
ChatHandler(chr).PSendSysMessage(LANG_YOURS_EXPLORE_SET_NOTHING,GetNameLink().c_str());
}
for (uint8 i=0; i<128; ++i)
for (uint8 i=0; i<PLAYER_EXPLORED_ZONES_SIZE; ++i)
{
if (flag != 0)
{
@@ -4876,7 +4876,7 @@ bool ChatHandler::HandleShowAreaCommand(const char *args)
int offset = area / 32;
uint32 val = (uint32)(1 << (area % 32));
if (area<0 || offset >= 128)
if (area<0 || offset >= PLAYER_EXPLORED_ZONES_SIZE)
{
SendSysMessage(LANG_BAD_VALUE);
SetSentErrorMessage(true);
@@ -4907,7 +4907,7 @@ bool ChatHandler::HandleHideAreaCommand(const char *args)
int offset = area / 32;
uint32 val = (uint32)(1 << (area % 32));
if (area<0 || offset >= 128)
if (area<0 || offset >= PLAYER_EXPLORED_ZONES_SIZE)
{
SendSysMessage(LANG_BAD_VALUE);
SetSentErrorMessage(true);