diff options
author | Paul Gilbert | 2014-03-29 13:38:52 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-03-29 13:38:52 -0400 |
commit | addb3e2900ee417fb71a75f9afae08b00007daa5 (patch) | |
tree | 8bba0b061f6bead06c38edd001d6d71cbbc642f1 /engines/mads/scene.cpp | |
parent | 71b1343adf6e886cfd2e1a0040a12b5025672d14 (diff) | |
download | scummvm-rg350-addb3e2900ee417fb71a75f9afae08b00007daa5.tar.gz scummvm-rg350-addb3e2900ee417fb71a75f9afae08b00007daa5.tar.bz2 scummvm-rg350-addb3e2900ee417fb71a75f9afae08b00007daa5.zip |
MADS: Minor renamings and added display of walk nodes to debugger
Diffstat (limited to 'engines/mads/scene.cpp')
-rw-r--r-- | engines/mads/scene.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/mads/scene.cpp b/engines/mads/scene.cpp index f61928f6d0..b8b8888e53 100644 --- a/engines/mads/scene.cpp +++ b/engines/mads/scene.cpp @@ -136,6 +136,10 @@ void Scene::loadScene(int sceneId, const Common::String &prefix, bool palFlag) { for (uint i = 0; i < _sceneInfo->_nodes.size(); ++i) _nodes.push_back(_sceneInfo->_nodes[i]); + // Add two more empty nodes for the start and end points of any walk sequence + _nodes.push_back(SceneNode()); + _nodes.push_back(SceneNode()); + // Load hotspots loadHotspots(); |