From de4b5645324a9019344dd94877c7ecc2139b5cd0 Mon Sep 17 00:00:00 2001 From: Alyssa Milburn Date: Sat, 22 Jan 2011 17:33:44 +0000 Subject: MOHAWK: Add/use visit count for scenes. svn-id: r55440 --- engines/mohawk/cstime_game.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/mohawk/cstime_game.cpp') diff --git a/engines/mohawk/cstime_game.cpp b/engines/mohawk/cstime_game.cpp index addddea3e8..05f2c36125 100644 --- a/engines/mohawk/cstime_game.cpp +++ b/engines/mohawk/cstime_game.cpp @@ -750,6 +750,7 @@ CSTimeScene *CSTimeCase::getCurrScene() { } CSTimeScene::CSTimeScene(MohawkEngine_CSTime *vm, CSTimeCase *case_, uint id) : _vm(vm), _case(case_), _id(id) { + _visitCount = 0; _activeChar = NULL; _currHotspot = 0xffff; _hoverHotspot = 0xffff; -- cgit v1.2.3