diff options
author | Ira Rice <irarice@gmail.com> | 2009-01-26 01:26:25 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-26 01:26:25 -0700 |
commit | 062f4065f5a2117fc5fd5f408e1f3163e2f63afc (patch) | |
tree | 83e9f5053dcf16049cc416f05b03e7bbf9c916fe /src/being.h | |
parent | cd0bbf213902665f795d10a38c4f847f681c290c (diff) | |
download | mana-062f4065f5a2117fc5fd5f408e1f3163e2f63afc.tar.gz mana-062f4065f5a2117fc5fd5f408e1f3163e2f63afc.tar.bz2 mana-062f4065f5a2117fc5fd5f408e1f3163e2f63afc.tar.xz mana-062f4065f5a2117fc5fd5f408e1f3163e2f63afc.zip |
Fixed offset of right-click hitboxes and made NPCs without sprites
clickable. Also set a minimum clickable area so that small mobs like
maggots aren't too difficult to click.
Been wanting this patched for a while, but didn't know where to look
until Crush's patch for mainline click zones on TMW.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/being.h b/src/being.h index 80295db8..a43297ad 100644 --- a/src/being.h +++ b/src/being.h @@ -432,6 +432,9 @@ class Being : public Sprite */ int getOffset(char pos, char neg) const; + static const int DEFAULT_WIDTH = 32; + static const int DEFAULT_HEIGHT = 32; + // Speech Bubble components SpeechBubble *mSpeechBubble; |