diff options
author | blub <Vincent_Michael@gmx.de> | 2016-07-25 05:53:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-25 05:53:51 +0200 |
commit | 766afbeacdc2d14ffc8e89a79e874b7c5075da76 (patch) | |
tree | 8b764b7ed70f3fff8b4ca060bddc151c822d2df7 | |
parent | ff812a37f26cb59e5b3489f0defc5ba9b708c386 (diff) | |
parent | 68a3f8f582aa1b4e14e29c54876f8c96b3566b63 (diff) |
Merge pull request #17661 from tkrokli/explored_zones_size
Core/Scripts: uint8 -> uint16 in cs_cheat.cpp
-rw-r--r-- | src/server/scripts/Commands/cs_cheat.cpp | 2 |
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); |