aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula
diff options
context:
space:
mode:
authorFilippos Karapetis2017-11-03 09:33:27 +0200
committerFilippos Karapetis2017-11-11 17:14:37 +0200
commit4dbed7742afea3afc414d9550378f5c98709ad29 (patch)
tree5092beaafbf4514950e48b63045aeaa4bb1c5386 /engines/drascula
parentfd8a86038aab1876a2c71e773a92195db5e2db53 (diff)
downloadscummvm-rg350-4dbed7742afea3afc414d9550378f5c98709ad29.tar.gz
scummvm-rg350-4dbed7742afea3afc414d9550378f5c98709ad29.tar.bz2
scummvm-rg350-4dbed7742afea3afc414d9550378f5c98709ad29.zip
DRASCULA: Reduce the scope of framesWithoutAction
Diffstat (limited to 'engines/drascula')
-rw-r--r--engines/drascula/drascula.cpp3
-rw-r--r--engines/drascula/drascula.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp
index e442681099..1f3f0c654d 100644
--- a/engines/drascula/drascula.cpp
+++ b/engines/drascula/drascula.cpp
@@ -70,7 +70,6 @@ DrasculaEngine::DrasculaEngine(OSystem *syst, const DrasculaGameDescription *gam
_talkSequences = 0;
_currentSaveSlot = 0;
- framesWithoutAction = 0;
term_int = 0;
currentChapter = 0;
_loadedDifferentChapter = false;
@@ -310,7 +309,6 @@ Common::Error DrasculaEngine::run() {
vonBraunX = 120;
trackVonBraun = 1;
vonBraunHasMoved = 0;
- framesWithoutAction = 0;
term_int = 0;
musicStopped = 0;
globalSpeed = 0;
@@ -399,6 +397,7 @@ void DrasculaEngine::endChapter() {
bool DrasculaEngine::runCurrentChapter() {
int n;
+ int framesWithoutAction = 0;
_rightMouseButton = 0;
diff --git a/engines/drascula/drascula.h b/engines/drascula/drascula.h
index be27ae6e32..d493a9dc73 100644
--- a/engines/drascula/drascula.h
+++ b/engines/drascula/drascula.h
@@ -457,7 +457,6 @@ public:
int blinking;
int igorX, igorY, trackIgor;
int drasculaX, drasculaY, trackDrascula;
- int framesWithoutAction;
int term_int;
int currentChapter;
bool _loadedDifferentChapter;