summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-02-06 04:18:16 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-02-06 04:18:16 +0000
commit323b0e57c673035ad8065c7daf399124f15c24d4 (patch)
treeb1fba9f0c2e9f7d7cccb6a083a2c5b862d91901b /src/being.h
parente2c61ef8ec4f8685c0eafa2284c7485cec489021 (diff)
downloadmana-323b0e57c673035ad8065c7daf399124f15c24d4.tar.gz
mana-323b0e57c673035ad8065c7daf399124f15c24d4.tar.bz2
mana-323b0e57c673035ad8065c7daf399124f15c24d4.tar.xz
mana-323b0e57c673035ad8065c7daf399124f15c24d4.zip
Use virtual methods instead of getType() checks.
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being.h b/src/being.h
index d87f06ab..edc25c09 100644
--- a/src/being.h
+++ b/src/being.h
@@ -197,8 +197,8 @@ class Being : public Sprite
/**
* Draws the name text below the being.
*/
- void
- drawName(Graphics *graphics, Sint32 offsetX, Sint32 offsetY);
+ virtual void
+ drawName(Graphics *graphics, Sint32 offsetX, Sint32 offsetY) {};
/**
* Returns the type of the being.