Core/Scripts: uint8 -> uint16 in cs_cheat.cpp

After the latest size change in PLAYER_EXPLORED_ZONES_SIZE
from 255 to 256, this needs to be an uint16 variable instead of uint8.
This commit is contained in:
tkrokli
2016-07-25 04:06:09 +02:00
parent ff812a37f2
commit 68a3f8f582

View File

@@ -272,7 +272,7 @@ public:
ChatHandler(chr->GetSession()).PSendSysMessage(LANG_YOURS_EXPLORE_SET_NOTHING, handler->GetNameLink().c_str());
}
for (uint8 i = 0; i < PLAYER_EXPLORED_ZONES_SIZE; ++i)
for (uint16 i = 0; i < PLAYER_EXPLORED_ZONES_SIZE; ++i)
{
if (flag != 0)
handler->GetSession()->GetPlayer()->SetFlag(PLAYER_EXPLORED_ZONES_1+i, 0xFFFFFFFF);