summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorPhilipp Sehmisch <crush@themanaworld.org>2009-01-25 19:45:18 +0100
committerPhilipp Sehmisch <crush@themanaworld.org>2009-01-25 19:45:18 +0100
commit3ca85b152531b9dd9cffa18d9b64d7c7ae615adf (patch)
tree91bbf1fdb71c52e1074160652abacfc1911a5bac /src/being.h
parent2a7c63f6070606e6623a9730aa1ca9d52c942055 (diff)
downloadmana-3ca85b152531b9dd9cffa18d9b64d7c7ae615adf.tar.gz
mana-3ca85b152531b9dd9cffa18d9b64d7c7ae615adf.tar.bz2
mana-3ca85b152531b9dd9cffa18d9b64d7c7ae615adf.tar.xz
mana-3ca85b152531b9dd9cffa18d9b64d7c7ae615adf.zip
Fixed offset of right-click hitboxes and made NPCs without sprites clickable.
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/being.h b/src/being.h
index aeb03564..0591777e 100644
--- a/src/being.h
+++ b/src/being.h
@@ -411,6 +411,10 @@ class Being : public Sprite
std::list<Particle *> mChildParticleEffects;
private:
+
+ static const int Being::DEFAULT_WIDTH = 32;
+ static const int Being::DEFAULT_HEIGHT = 32;
+
// Speech Bubble components
SpeechBubble *mSpeechBubble;