summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-08-01 12:53:00 -0600
committerJared Adams <jaxad0127@gmail.com>2009-08-01 12:53:00 -0600
commitac839db81173f6e54ab4f3b74a4c90e3a5072d41 (patch)
treef097f74e431746e7b199236cae8797c1dc77f651 /src/localplayer.h
parent907b4a126e16c56d7b372ea7fa0ed750e4302133 (diff)
downloadmana-ac839db81173f6e54ab4f3b74a4c90e3a5072d41.tar.gz
mana-ac839db81173f6e54ab4f3b74a4c90e3a5072d41.tar.bz2
mana-ac839db81173f6e54ab4f3b74a4c90e3a5072d41.tar.xz
mana-ac839db81173f6e54ab4f3b74a4c90e3a5072d41.zip
Fix a compile error under Windows
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index a3ed5f29..fa0b8984 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -373,8 +373,9 @@ class LocalPlayer : public Player
int mLastTarget; /** Time stamp of last targeting action, -1 if none. */
// Character status:
- std::map<int, int> mAttributeBase;
- std::map<int, int> mAttributeEffective;
+ typedef std::map<int, int> IntMap;
+ IntMap mAttributeBase;
+ IntMap mAttributeEffective;
std::map<int, std::pair<int, int> > mSkillExp;
int mCharacterPoints;
int mCorrectionPoints;