aboutsummaryrefslogtreecommitdiff
path: root/engines/mads
diff options
context:
space:
mode:
authorPaul Gilbert2014-05-04 18:42:45 -0400
committerPaul Gilbert2014-05-04 18:42:45 -0400
commit24b79dc5f1486e4cb208b95a8bc18f31ab50de4c (patch)
treeb240fc6cd70706261d06e7830c716f1b9070daa2 /engines/mads
parentc892d8c725ee20fa3aef4aab29cc89da734bee23 (diff)
downloadscummvm-rg350-24b79dc5f1486e4cb208b95a8bc18f31ab50de4c.tar.gz
scummvm-rg350-24b79dc5f1486e4cb208b95a8bc18f31ab50de4c.tar.bz2
scummvm-rg350-24b79dc5f1486e4cb208b95a8bc18f31ab50de4c.zip
MADS: Fix gcc warnings
Diffstat (limited to 'engines/mads')
-rw-r--r--engines/mads/dragonsphere/dragonsphere_scenes.h2
-rw-r--r--engines/mads/dragonsphere/game_dragonsphere.h1
-rw-r--r--engines/mads/globals.h2
3 files changed, 4 insertions, 1 deletions
diff --git a/engines/mads/dragonsphere/dragonsphere_scenes.h b/engines/mads/dragonsphere/dragonsphere_scenes.h
index 596a59e879..cf42dab0ba 100644
--- a/engines/mads/dragonsphere/dragonsphere_scenes.h
+++ b/engines/mads/dragonsphere/dragonsphere_scenes.h
@@ -35,7 +35,7 @@ namespace MADS {
namespace Dragonsphere {
enum Noun {
- NOUN_LOOK_AT = 0x0D1,
+ NOUN_LOOK_AT = 0x0D1
// TODO
};
diff --git a/engines/mads/dragonsphere/game_dragonsphere.h b/engines/mads/dragonsphere/game_dragonsphere.h
index dd96146285..2bfcde1c63 100644
--- a/engines/mads/dragonsphere/game_dragonsphere.h
+++ b/engines/mads/dragonsphere/game_dragonsphere.h
@@ -43,6 +43,7 @@ enum InventoryObject { OBJ_NONE = -1
class DragonsphereGlobals: public Globals {
public:
DragonsphereGlobals() {}
+ virtual ~DragonsphereGlobals() {}
};
class GameDragonsphere: public Game {
diff --git a/engines/mads/globals.h b/engines/mads/globals.h
index e44e97fd3c..92e9d96f3e 100644
--- a/engines/mads/globals.h
+++ b/engines/mads/globals.h
@@ -35,6 +35,8 @@ protected:
public:
Globals() {}
+ virtual ~Globals() {}
+
/**
* Square brackets operator for accessing flags
*/