diff options
author | Paul Gilbert | 2011-04-19 21:02:27 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-04-19 21:02:27 +1000 |
commit | 5dcfd1e32c185e88b09a3ff1341aaf78b674572b (patch) | |
tree | 4fe644352cae7e509eda6282a436025bfd95380c /engines/tsage/core.h | |
parent | d18f8e8564de7feb890ca8fe183c6508c64acc41 (diff) | |
download | scummvm-rg350-5dcfd1e32c185e88b09a3ff1341aaf78b674572b.tar.gz scummvm-rg350-5dcfd1e32c185e88b09a3ff1341aaf78b674572b.tar.bz2 scummvm-rg350-5dcfd1e32c185e88b09a3ff1341aaf78b674572b.zip |
TSAGE: Reworked the saving code to fix crashes
Note that this undoes the recent compilation fix for GCC, since it didn't work. For now, used an explicit void ** conversion as previously suggested.
Diffstat (limited to 'engines/tsage/core.h')
-rw-r--r-- | engines/tsage/core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/tsage/core.h b/engines/tsage/core.h index 6508d1576a..c18984fd45 100644 --- a/engines/tsage/core.h +++ b/engines/tsage/core.h @@ -728,6 +728,7 @@ public: } SynchronisedList<SceneObject *>::iterator begin() { return _objList.begin(); } SynchronisedList<SceneObject *>::iterator end() { return _objList.end(); } + int size() const { return _objList.size(); } bool contains(SceneObject *sceneObj) { return tSage::contains(_objList, sceneObj); } void push_back(SceneObject *sceneObj) { _objList.push_back(sceneObj); } void push_front(SceneObject *sceneObj) { _objList.push_front(sceneObj); } |