diff options
Diffstat (limited to 'engines/saga/actor.cpp')
-rw-r--r-- | engines/saga/actor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/saga/actor.cpp b/engines/saga/actor.cpp index 96d901fbba..52c07faca3 100644 --- a/engines/saga/actor.cpp +++ b/engines/saga/actor.cpp @@ -925,8 +925,8 @@ uint16 Actor::hitTest(const Point &testPoint, bool skipProtagonist) { CommonObjectOrderList::iterator drawOrderIterator; CommonObjectDataPointer drawObject; - int frameNumber; - SpriteList *spriteList; + int frameNumber = 0; + SpriteList *spriteList = NULL; createDrawOrderList(); @@ -1044,8 +1044,8 @@ void Actor::drawActors() { CommonObjectOrderList::iterator drawOrderIterator; CommonObjectDataPointer drawObject; - int frameNumber; - SpriteList *spriteList; + int frameNumber = 0; + SpriteList *spriteList = NULL; Surface *backBuffer; |