summaryrefslogtreecommitdiff
path: root/src/object.h
diff options
context:
space:
mode:
authorMateusz Kaduk <mateusz.kaduk@gmail.com>2005-05-22 05:12:11 +0000
committerMateusz Kaduk <mateusz.kaduk@gmail.com>2005-05-22 05:12:11 +0000
commitc816b6cdf4d8e7eb9e16b8b5db80c72376461e46 (patch)
tree450c022cb457224ef1ff6055f6c56329bd235370 /src/object.h
parent4c76ce2603ef8882941d6cdea6abb7d53b240ebc (diff)
downloadmanaserv-c816b6cdf4d8e7eb9e16b8b5db80c72376461e46.tar.gz
manaserv-c816b6cdf4d8e7eb9e16b8b5db80c72376461e46.tar.bz2
manaserv-c816b6cdf4d8e7eb9e16b8b5db80c72376461e46.tar.xz
manaserv-c816b6cdf4d8e7eb9e16b8b5db80c72376461e46.zip
Fixed compile time warnings
Diffstat (limited to 'src/object.h')
-rw-r--r--src/object.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object.h b/src/object.h
index a3031598..8a8a4d2a 100644
--- a/src/object.h
+++ b/src/object.h
@@ -49,7 +49,7 @@ class Object
int x;
int y;
public:
- ~Object() { }
+ virtual ~Object() { }
virtual void update() = 0;
};
@@ -91,7 +91,7 @@ class Being : public Object
#endif
public:
- ~Being() { } //empty definition
+ virtual ~Being() { } //empty definition
//update
void update() {