summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2007-03-19 16:52:44 +0000
committerDavid Athay <ko2fan@gmail.com>2007-03-19 16:52:44 +0000
commit3702c703ff49f7ca21c5fa6c789cab12cab282b9 (patch)
tree99760cf27b2cffed647d7ee765a7c1855dec7eb0 /src/localplayer.cpp
parenta6f43600f1a9e7b1f39ca0ea9068130b680e5a89 (diff)
downloadmana-3702c703ff49f7ca21c5fa6c789cab12cab282b9.tar.gz
mana-3702c703ff49f7ca21c5fa6c789cab12cab282b9.tar.bz2
mana-3702c703ff49f7ca21c5fa6c789cab12cab282b9.tar.xz
mana-3702c703ff49f7ca21c5fa6c789cab12cab282b9.zip
Added target cursor. Shows blue when target in range, and red when out of range.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 2e583404..24976c0a 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -38,6 +38,7 @@ LocalPlayer *player_node = NULL;
LocalPlayer::LocalPlayer(Uint32 id, Uint16 job, Map *map):
Player(id, job, map),
+ mAttackRange(0),
mInventory(new Inventory()),
mTarget(NULL), mPickUpTarget(NULL),
mTrading(false), mLastAction(-1)