From fde99a029a13f1c97bb4d7985c94964f55be034a Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 28 Sep 2005 15:49:20 +0000 Subject: Cleaner code for sfWaitFramesEsc() svn-id: r18895 --- saga/sfuncs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'saga/sfuncs.cpp') diff --git a/saga/sfuncs.cpp b/saga/sfuncs.cpp index 7ca39dabb1..d3ec186d8c 100644 --- a/saga/sfuncs.cpp +++ b/saga/sfuncs.cpp @@ -1982,7 +1982,7 @@ void Script::sfDebugShowData(SCRIPTFUNC_PARAMS) { } void Script::sfWaitFramesEsc(SCRIPTFUNC_PARAMS) { - thread->_returnValue = _framesEsc; + thread->_returnValue = _vm->_framesEsc; } void Script::sf103(SCRIPTFUNC_PARAMS) { -- cgit v1.2.3