diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2009-07-20 09:15:32 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2009-07-20 09:15:32 +0200 |
commit | ddf75478b48173d82f455c99af3894bd0f9018ff (patch) | |
tree | e98bf649a1903bc2e07a2c397ebff286fc131bf6 /src/localplayer.cpp | |
parent | 6038ee3f4ea80085921f3ecf334884cbe98851bc (diff) | |
download | mana-ddf75478b48173d82f455c99af3894bd0f9018ff.tar.gz mana-ddf75478b48173d82f455c99af3894bd0f9018ff.tar.bz2 mana-ddf75478b48173d82f455c99af3894bd0f9018ff.tar.xz mana-ddf75478b48173d82f455c99af3894bd0f9018ff.zip |
Fixed a bunch of compile errors/warnings
Please turn on -Wall, and if you don't notice your warnings, also turn
on -Werror.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index cba27569..d20ebcc3 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -895,7 +895,7 @@ void LocalPlayer::setExpNeeded(int value) statusWindow->update(StatusWindow::EXP); } -int LocalPlayer::setMP(int value) +void LocalPlayer::setMP(int value) { mMp = value; @@ -903,7 +903,7 @@ int LocalPlayer::setMP(int value) statusWindow->update(StatusWindow::MP); } -int LocalPlayer::setMaxMP(int value) +void LocalPlayer::setMaxMP(int value) { mMaxMp = value; |