aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/scumm.cpp
diff options
context:
space:
mode:
authorMax Horn2006-12-25 15:37:20 +0000
committerMax Horn2006-12-25 15:37:20 +0000
commitba991e3b3ac520dad1d2eeed05c890bfe058c506 (patch)
treed0f00c2ed593c266cd3b1b08dc1ff2e2add201e1 /engines/scumm/scumm.cpp
parent4ce7b7408584bd12989e4d309f9280bf4222c44f (diff)
downloadscummvm-rg350-ba991e3b3ac520dad1d2eeed05c890bfe058c506.tar.gz
scummvm-rg350-ba991e3b3ac520dad1d2eeed05c890bfe058c506.tar.bz2
scummvm-rg350-ba991e3b3ac520dad1d2eeed05c890bfe058c506.zip
SCUMM: Added ActorC64 subclass of Actor, and added a note stating that _miscflags isn't currently stored (possibly breaking C64 save states). Also reordered some HE specific code
svn-id: r24923
Diffstat (limited to 'engines/scumm/scumm.cpp')
-rw-r--r--engines/scumm/scumm.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp
index c71e78d509..672438b344 100644
--- a/engines/scumm/scumm.cpp
+++ b/engines/scumm/scumm.cpp
@@ -1246,8 +1246,10 @@ void ScummEngine::resetScumm() {
_actors = new Actor * [_numActors];
_sortedActors = new Actor * [_numActors];
for (i = 0; i < _numActors; ++i) {
- _actors[i] = new Actor();
- _actors[i]->_number = i;
+ if (_game.version == 0)
+ _actors[i] = new ActorC64(i);
+ else
+ _actors[i] = new Actor(i);
_actors[i]->initActor(1);
// this is from IDB