aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortkrokli <tkrokli@hotmail.com>2016-07-25 04:06:09 +0200
committertkrokli <tkrokli@hotmail.com>2016-07-25 04:06:09 +0200
commit68a3f8f582aa1b4e14e29c54876f8c96b3566b63 (patch)
tree8b764b7ed70f3fff8b4ca060bddc151c822d2df7 /src
parentff812a37f26cb59e5b3489f0defc5ba9b708c386 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Commands/cs_cheat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Commands/cs_cheat.cpp b/src/server/scripts/Commands/cs_cheat.cpp
index 6e01d6404b3..3a54d6ae70b 100644
--- a/src/server/scripts/Commands/cs_cheat.cpp
+++ b/src/server/scripts/Commands/cs_cheat.cpp
@@ -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);