summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorRoderic Morris <roderic@ccs.neu.edu>2008-10-25 01:40:36 +0000
committerRoderic Morris <roderic@ccs.neu.edu>2008-10-25 01:40:36 +0000
commit796c2addfb17b57992d304667248873ee26088dc (patch)
tree8d3aaab2dd6abbc304eb9f8b70551b210894a7e2 /src/localplayer.h
parentf8f3e17f72d1216bacd5aaa975789b0b790068f6 (diff)
downloadmana-796c2addfb17b57992d304667248873ee26088dc.tar.gz
mana-796c2addfb17b57992d304667248873ee26088dc.tar.bz2
mana-796c2addfb17b57992d304667248873ee26088dc.tar.xz
mana-796c2addfb17b57992d304667248873ee26088dc.zip
attack range fixes, highlight monsters in range (by Chuck Miller)
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index 0b4b66ed..7d6f3862 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -199,14 +199,9 @@ class LocalPlayer : public Player
void pickUp(FloorItem *item);
/**
- * Sets the attack range.
- */
- void setAttackRange(int range) { mAttackRange = range; }
-
- /**
* Gets the attack range.
*/
- int getAttackRange() const { return mAttackRange; }
+ int getAttackRange();
/**
* Sents a trade request to the given being.
@@ -279,8 +274,6 @@ class LocalPlayer : public Player
int getMaxHP() const
{ return mMaxHP; }
- Uint16 mAttackRange;
-
void setHP(int value)
{ mHP = value; }