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.h | |
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.h')
-rw-r--r-- | src/localplayer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index 1c57abaf..140d64b4 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -289,19 +289,19 @@ class LocalPlayer : public Player void setExp(int value); int getExp() const - { return mExp, mExpNeeded; } + { return mExp; } void setExpNeeded(int value); int getExpNeeded() const { return mExpNeeded; } - int setMP(int value); + void setMP(int value); int getMP() const { return mMp; } - int setMaxMP(int value); + void setMaxMP(int value); int getMaxMP() const { return mMaxMp; } |