Merge pull request #17661 from tkrokli/explored_zones_size

Core/Scripts: uint8 -> uint16 in cs_cheat.cpp
This commit is contained in:
blub
2016-07-25 05:53:51 +02:00
committed by GitHub

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);