aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/gui
diff options
context:
space:
mode:
authorathrxx2019-02-19 21:30:54 +0100
committerathrxx2019-03-06 20:48:19 +0100
commit77a7f02e9ab60ded0dac5b34228272300a1e80c9 (patch)
tree10be41def105f8174105469fa25cba185dc5aad3 /engines/kyra/gui
parent4d934ec30e4199e7cf91885e01f51963032a4637 (diff)
downloadscummvm-rg350-77a7f02e9ab60ded0dac5b34228272300a1e80c9.tar.gz
scummvm-rg350-77a7f02e9ab60ded0dac5b34228272300a1e80c9.tar.bz2
scummvm-rg350-77a7f02e9ab60ded0dac5b34228272300a1e80c9.zip
KYRA: (EOB) - rename var
Diffstat (limited to 'engines/kyra/gui')
-rw-r--r--engines/kyra/gui/saveload_eob.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/kyra/gui/saveload_eob.cpp b/engines/kyra/gui/saveload_eob.cpp
index c73831e9f5..713c4cb88c 100644
--- a/engines/kyra/gui/saveload_eob.cpp
+++ b/engines/kyra/gui/saveload_eob.cpp
@@ -231,7 +231,7 @@ Common::Error EoBCoreEngine::loadGameState(int slot) {
m->animStep = in.readByte();
m->shpIndex = in.readByte();
m->mode = in.readSByte();
- m->f_9 = in.readSByte();
+ m->stray = in.readSByte();
m->curAttackFrame = in.readSByte();
m->spellStatusLeft = in.readSByte();
m->hitPointsMax = in.readSint16BE();
@@ -477,7 +477,7 @@ Common::Error EoBCoreEngine::saveGameStateIntern(int slot, const char *saveName,
out->writeByte(m->animStep);
out->writeByte(m->shpIndex);
out->writeSByte(m->mode);
- out->writeSByte(m->f_9);
+ out->writeSByte(m->stray);
out->writeSByte(m->curAttackFrame);
out->writeSByte(m->spellStatusLeft);
out->writeSint16BE(m->hitPointsMax);
@@ -833,7 +833,7 @@ Common::String EoBCoreEngine::readOriginalSaveFile(Common::String &file) {
m->animStep = in.readByte();
m->shpIndex = in.readByte();
m->mode = in.readSByte();
- m->f_9 = in.readSByte();
+ m->stray = in.readSByte();
m->curAttackFrame = in.readSByte();
m->spellStatusLeft = in.readSByte();
m->hitPointsMax = in.readSint16();
@@ -1192,7 +1192,7 @@ bool EoBCoreEngine::saveAsOriginalSaveFile(int slot) {
out->writeByte(m->animStep);
out->writeByte(m->shpIndex);
out->writeSByte(m->mode);
- out->writeSByte(m->f_9);
+ out->writeSByte(m->stray);
out->writeSByte(m->curAttackFrame);
out->writeSByte(m->spellStatusLeft);
out->writeSint16LE(m->hitPointsMax);