summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2009-07-20 09:15:32 +0200
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2009-07-20 09:15:32 +0200
commitddf75478b48173d82f455c99af3894bd0f9018ff (patch)
treee98bf649a1903bc2e07a2c397ebff286fc131bf6 /src/localplayer.h
parent6038ee3f4ea80085921f3ecf334884cbe98851bc (diff)
downloadmana-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.h6
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; }