summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2008-12-07 20:15:07 -0700
committerIra Rice <irarice@gmail.com>2008-12-07 20:15:07 -0700
commitd11b55a4ad9b24d8fb6597e5b1e0eeb904bd9505 (patch)
treeccf349a855b8bbd14fff0462e3d7bbf365bf26ec /src/localplayer.h
parentca96882fe9319f687fce46c18f6edc671e4efc8a (diff)
downloadmana-d11b55a4ad9b24d8fb6597e5b1e0eeb904bd9505.tar.gz
mana-d11b55a4ad9b24d8fb6597e5b1e0eeb904bd9505.tar.bz2
mana-d11b55a4ad9b24d8fb6597e5b1e0eeb904bd9505.tar.xz
mana-d11b55a4ad9b24d8fb6597e5b1e0eeb904bd9505.zip
Added some initialization and removed ChargeDialog
Many member variables of LocalPlayer were not being initialized properly. In general this shouldn't have caused any problems, but it's bad style. The ChargeDialog was removed. This class was long dead anyway. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl> Conflicts: src/Makefile.am src/game.cpp src/gui/chargedialog.cpp src/gui/chargedialog.h src/localplayer.cpp src/localplayer.h Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index ad59d138..0760f226 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -190,7 +190,7 @@ class LocalPlayer : public Player
*/
int getXp() const { return mXp; }
- Uint32 mCharId;
+ Uint32 mCharId; /**< Used only during character selection. */
Uint32 mJobXp;
Uint16 mLevel;