diff options
author | Andrew Kurushin | 2009-05-01 10:37:41 +0000 |
---|---|---|
committer | Andrew Kurushin | 2009-05-01 10:37:41 +0000 |
commit | 600a4711224e5a699143013f111e9bf69dd7f13f (patch) | |
tree | 8669114e814977111afd3ad29bad927c4b5feea9 /engines/saga/actor.cpp | |
parent | bb2540a4d11a9ed66ef40b193fb6b2f89d75326c (diff) | |
download | scummvm-rg350-600a4711224e5a699143013f111e9bf69dd7f13f.tar.gz scummvm-rg350-600a4711224e5a699143013f111e9bf69dd7f13f.tar.bz2 scummvm-rg350-600a4711224e5a699143013f111e9bf69dd7f13f.zip |
SAGA: fix SAGA_DEBUG&ACTOR_DEBUG enabled compilation; move Actor::_debugPoints into a Common::Array<DebugPoint>
svn-id: r40227
Diffstat (limited to 'engines/saga/actor.cpp')
-rw-r--r-- | engines/saga/actor.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/engines/saga/actor.cpp b/engines/saga/actor.cpp index 6ca96c46e9..f0efc8e85d 100644 --- a/engines/saga/actor.cpp +++ b/engines/saga/actor.cpp @@ -226,8 +226,7 @@ Actor::Actor(SagaEngine *vm) : _vm(vm) { _objsCount = 0; #ifdef ACTOR_DEBUG - _debugPoints = NULL; - _debugPointsAlloced = _debugPointsCount = 0; + _debugPointsCount = 0; #endif _protagStates = NULL; @@ -321,9 +320,6 @@ Actor::Actor(SagaEngine *vm) : _vm(vm) { Actor::~Actor() { debug(9, "Actor::~Actor()"); -#ifdef ACTOR_DEBUG - free(_debugPoints); -#endif free(_pathList); free(_pathCell); _actorsStrings.freeMem(); |