Skip to content

Commit

Permalink
TSAGE: Reverted change to SceneItemList class
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Aug 18, 2013
1 parent 3bdc857 commit d58efe3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion engines/tsage/core.h
Expand Up @@ -782,7 +782,7 @@ class ScenePriorities : public Common::List<Region> {

/*--------------------------------------------------------------------------*/

class SceneItemList : public SynchronizedList<EventHandler *> {
class SceneItemList : public SynchronizedList<SceneItem *> {
public:
void addItems(SceneItem *first, ...);
};
Expand Down
3 changes: 2 additions & 1 deletion engines/tsage/ringworld2/ringworld2_logic.cpp
Expand Up @@ -1429,7 +1429,8 @@ void SceneExit::process(Event &event) {
/*--------------------------------------------------------------------------*/

void SceneAreaObject::remove() {
R2_GLOBALS._sceneItems.remove(this);
// TODO: This needs to be investigated.. SceneArea doesn't derive from SceneItem??
// R2_GLOBALS._sceneItems.remove(this);
_object1.remove();
SceneArea::remove();
--R2_GLOBALS._insetUp;
Expand Down

0 comments on commit d58efe3

Please sign in to comment.