From 323b0e57c673035ad8065c7daf399124f15c24d4 Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Mon, 6 Feb 2006 04:18:16 +0000 Subject: Use virtual methods instead of getType() checks. --- src/being.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/being.h') 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. -- cgit v1.2.3-70-g09d2