diff options
author | Torbjörn Andersson | 2004-10-09 07:39:46 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-10-09 07:39:46 +0000 |
commit | 64a91605a11152e2b1c54eba0e5ae9d514530028 (patch) | |
tree | d090c55c229e7aded7829780b0403891a5808109 /saga/isomap.cpp | |
parent | c68b6323e502af2bc8af682dac17603091cd5240 (diff) | |
download | scummvm-rg350-64a91605a11152e2b1c54eba0e5ae9d514530028.tar.gz scummvm-rg350-64a91605a11152e2b1c54eba0e5ae9d514530028.tar.bz2 scummvm-rg350-64a91605a11152e2b1c54eba0e5ae9d514530028.zip |
Initial attempt at fixing the SData problem. I'm still not sure exactly how
to fix the script "static" area, though.
In addition, initialise a few variables, and test for NULL-ness of a few
pointers. This fixes a few crashes I saw with yesterday's CVS snapshot.
There's still an unexpected scene change in the intro (I think it triggers
on Rhene walking too close to the exit), but at least it no longer crashes.
svn-id: r15484
Diffstat (limited to 'saga/isomap.cpp')
-rw-r--r-- | saga/isomap.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/saga/isomap.cpp b/saga/isomap.cpp index ccb2398bbb..bf8a6ef2b2 100644 --- a/saga/isomap.cpp +++ b/saga/isomap.cpp @@ -34,6 +34,7 @@ namespace Saga { IsoMap::IsoMap(Gfx *gfx) { _gfx = gfx; _init = 1; + _tiles_loaded = 0; } int IsoMap::loadTileset(const byte *tileres_p, size_t tileres_len) { |