diff options
Diffstat (limited to 'engines/wage/entities.cpp')
-rw-r--r-- | engines/wage/entities.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/wage/entities.cpp b/engines/wage/entities.cpp index 75b624c4c7..e6ce4e9e5a 100644 --- a/engines/wage/entities.cpp +++ b/engines/wage/entities.cpp @@ -60,6 +60,7 @@ void Designed::setDesignBounds(Common::Rect *bounds) { Scene::Scene(String name, Common::SeekableReadStream *data) { _name = name; + _classType = SCENE; _design = new Design(data); setDesignBounds(readRect(data)); @@ -81,7 +82,7 @@ Scene::Scene(String name, Common::SeekableReadStream *data) { Obj::Obj(String name, Common::SeekableReadStream *data) : _currentOwner(NULL), _currentScene(NULL) { _name = name; - + _classType = OBJ; _design = new Design(data); setDesignBounds(readRect(data)); @@ -125,6 +126,7 @@ Obj::Obj(String name, Common::SeekableReadStream *data) : _currentOwner(NULL), _ Chr::Chr(String name, Common::SeekableReadStream *data) { _name = name; + _classType = CHR; _design = new Design(data); setDesignBounds(readRect(data)); |