From 062f4065f5a2117fc5fd5f408e1f3163e2f63afc Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Mon, 26 Jan 2009 01:26:25 -0700 Subject: 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 --- src/being.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/being.h') 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; -- cgit v1.2.3-70-g09d2