From 600a4711224e5a699143013f111e9bf69dd7f13f Mon Sep 17 00:00:00 2001 From: Andrew Kurushin Date: Fri, 1 May 2009 10:37:41 +0000 Subject: SAGA: fix SAGA_DEBUG&ACTOR_DEBUG enabled compilation; move Actor::_debugPoints into a Common::Array svn-id: r40227 --- engines/saga/actor.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'engines/saga/actor.cpp') 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(); -- cgit v1.2.3