aboutsummaryrefslogtreecommitdiff
path: root/engines/griffon/saveload.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/griffon/saveload.cpp')
-rw-r--r--engines/griffon/saveload.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/griffon/saveload.cpp b/engines/griffon/saveload.cpp
index 29632e3cc4..f3cc6f510f 100644
--- a/engines/griffon/saveload.cpp
+++ b/engines/griffon/saveload.cpp
@@ -69,7 +69,7 @@ int GriffonEngine::state_load(int slotnum) {
if (_player.level > 0) {
char temp[256];
- INPUT("%i", &secstart);
+ INPUT("%i", &_secstart);
INPUT("%s", temp);
INPUT("%f", &_player.px);
@@ -143,7 +143,7 @@ int GriffonEngine::state_load_player(int slotnum) {
if (_playera.level > 0) {
char temp[256];
- INPUT("%i", &asecstart);
+ INPUT("%i", &_asecstart);
INPUT("%s", temp);
INPUT("%f", &_playera.px);
@@ -194,7 +194,7 @@ int GriffonEngine::state_save(int slotnum) {
PRINT("%i", _player.level);
if (_player.level > 0) {
- PRINT("%i", (secstart + secsingame));
+ PRINT("%i", (_secstart + _secsingame));
PRINT("%s", "a");
PRINT("%f", _player.px);