diff options
Diffstat (limited to 'src/player.cpp')
-rw-r--r-- | src/player.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/player.cpp b/src/player.cpp index e537a2b9..2f6b14e9 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -49,7 +49,7 @@ Player::Player(int id, int job, Map *map, bool isNPC): { if (!isNPC) { - for (unsigned int i = 0; i < Net::getCharHandler()->maxSprite(); i++) + for (int i = 0; i < Net::getCharHandler()->maxSprite(); i++) { mSprites.push_back(NULL); mSpriteIDs.push_back(0); @@ -157,7 +157,7 @@ void Player::setGM(bool gm) updateColors(); } -void Player::setSprite(unsigned int slot, int id, const std::string &color, +void Player::setSprite(int slot, int id, const std::string &color, bool isWeapon) { if (getType() == NPC) |