diff options
author | Nicola Mettifogo | 2007-03-17 07:52:47 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-03-17 07:52:47 +0000 |
commit | 1ef774b2ee7a74e2bbf12db7273771d0ea3b8a4c (patch) | |
tree | e9aa84b954ab90cda5e840373ddc3656a7184190 /engines/parallaction/saveload.cpp | |
parent | 86ba69f75b20785eed8e88500ba9b5dfa5b021c3 (diff) | |
download | scummvm-rg350-1ef774b2ee7a74e2bbf12db7273771d0ea3b8a4c.tar.gz scummvm-rg350-1ef774b2ee7a74e2bbf12db7273771d0ea3b8a4c.tar.bz2 scummvm-rg350-1ef774b2ee7a74e2bbf12db7273771d0ea3b8a4c.zip |
gathered character related stuff into a new struct Character, and modified calling code accordingly
svn-id: r26158
Diffstat (limited to 'engines/parallaction/saveload.cpp')
-rw-r--r-- | engines/parallaction/saveload.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/parallaction/saveload.cpp b/engines/parallaction/saveload.cpp index 9eb548efaf..f1e5cb94c8 100644 --- a/engines/parallaction/saveload.cpp +++ b/engines/parallaction/saveload.cpp @@ -175,9 +175,9 @@ void Parallaction::doSaveGame(uint16 slot, const char* name) { sprintf(s, "%s\n", _saveData1); f->writeString(s); - sprintf(s, "%d\n", _yourself._zone.pos._position._x); + sprintf(s, "%d\n", _vm->_char._yourself._zone.pos._position._x); f->writeString(s); - sprintf(s, "%d\n", _yourself._zone.pos._position._y); + sprintf(s, "%d\n", _vm->_char._yourself._zone.pos._position._y); f->writeString(s); sprintf(s, "%d\n", _score); f->writeString(s); |