From ddf75478b48173d82f455c99af3894bd0f9018ff Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Mon, 20 Jul 2009 09:15:32 +0200 Subject: Fixed a bunch of compile errors/warnings Please turn on -Wall, and if you don't notice your warnings, also turn on -Werror. --- src/localplayer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/localplayer.h') 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; } -- cgit v1.2.3-70-g09d2