aboutsummaryrefslogtreecommitdiff
path: root/saga/scene.h
diff options
context:
space:
mode:
authorEugene Sandulenko2005-09-28 15:49:20 +0000
committerEugene Sandulenko2005-09-28 15:49:20 +0000
commitfde99a029a13f1c97bb4d7985c94964f55be034a (patch)
treef4bb44cc89145f95d8ae8483809dede12638af18 /saga/scene.h
parent05ccf6389804a3c45fc0049955adb5dd60c09d48 (diff)
downloadscummvm-rg350-fde99a029a13f1c97bb4d7985c94964f55be034a.tar.gz
scummvm-rg350-fde99a029a13f1c97bb4d7985c94964f55be034a.tar.bz2
scummvm-rg350-fde99a029a13f1c97bb4d7985c94964f55be034a.zip
Cleaner code for sfWaitFramesEsc()
svn-id: r18895
Diffstat (limited to 'saga/scene.h')
-rw-r--r--saga/scene.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/saga/scene.h b/saga/scene.h
index 03f557c812..d446555f23 100644
--- a/saga/scene.h
+++ b/saga/scene.h
@@ -29,7 +29,6 @@
#include "saga/font.h"
#include "saga/list.h"
#include "saga/actor.h"
-#include "saga/script.h"
namespace Saga {
@@ -266,9 +265,9 @@ class Scene {
int currentSceneResourceId() const { return _sceneResourceId; }
void cutawaySkip() {
if (_vm->_scene->isInIntro())
- _vm->_script->_framesEsc = 2;
+ _vm->_framesEsc = 2;
else
- _vm->_script->_framesEsc = 1;
+ _vm->_framesEsc = 1;
}
void drawTextList(Surface *ds);