diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-08-01 21:10:13 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-08-01 21:10:13 +0000 |
commit | 2ae843719c2a7b2325309404a0e3cbb4aeb9c3df (patch) | |
tree | 4491254c4532f767585ed0001d5652994a7e9ae6 /src/player.cpp | |
parent | c2cde930ed189d70846bf86acfddf6fdd0c998f9 (diff) | |
download | mana-2ae843719c2a7b2325309404a0e3cbb4aeb9c3df.tar.gz mana-2ae843719c2a7b2325309404a0e3cbb4aeb9c3df.tar.bz2 mana-2ae843719c2a7b2325309404a0e3cbb4aeb9c3df.tar.xz mana-2ae843719c2a7b2325309404a0e3cbb4aeb9c3df.zip |
Fixed several compiler warnings and a linker error when compiling without
OpenGL support.
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 9b7536cf..05825f6e 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -110,7 +110,7 @@ Player::setHairColor(Uint16 color) mSprites[HAIR_SPRITE] = new AnimatedSprite("graphics/sprites/hairstyle"+toString(mHairStyle)+".xml", color - 1); } Being::setHairColor(color); -}; +} void Player::setHairStyle(Uint16 style) @@ -121,7 +121,7 @@ Player::setHairStyle(Uint16 style) mSprites[HAIR_SPRITE] = new AnimatedSprite("graphics/sprites/hairstyle"+toString(style)+".xml", mHairColor - 1); } Being::setHairStyle(style); -}; +} void Player::setVisibleEquipment(Uint8 slot, Uint8 id) |