diff options
author | Nicola Mettifogo | 2007-02-18 09:35:50 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-02-18 09:35:50 +0000 |
commit | d0da5666336d6a3062d1e64820f0ce00745d60be (patch) | |
tree | a986689c5b2c93402d7202cc3015fac932d5ccf8 | |
parent | eb30be5f10209541c35f24c4a4ef62df4574d6e5 (diff) | |
download | scummvm-rg350-d0da5666336d6a3062d1e64820f0ce00745d60be.tar.gz scummvm-rg350-d0da5666336d6a3062d1e64820f0ce00745d60be.tar.bz2 scummvm-rg350-d0da5666336d6a3062d1e64820f0ce00745d60be.zip |
fixed broken sprintf formats in saving routines
svn-id: r25675
-rw-r--r-- | engines/parallaction/loadsave.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/parallaction/loadsave.cpp b/engines/parallaction/loadsave.cpp index a99527c248..c12aa6ad6a 100644 --- a/engines/parallaction/loadsave.cpp +++ b/engines/parallaction/loadsave.cpp @@ -187,18 +187,18 @@ void Parallaction::doSaveGame(uint16 slot, const char* name) { f->writeString(s); sprintf(s, "%d\n", _score); f->writeString(s); - sprintf(s, "%uld\n", _commandFlags); + sprintf(s, "%ul\n", _commandFlags); f->writeString(s); sprintf(s, "%d\n", _numLocations); f->writeString(s); for (uint16 _si = 0; _si < _numLocations; _si++) { - sprintf(s, "%s\n%uld\n", _locationNames[_si], _localFlags[_si]); + sprintf(s, "%s\n%ul\n", _locationNames[_si], _localFlags[_si]); f->writeString(s); } for (uint16 _si = 0; _si < 30; _si++) { - sprintf(s, "%uld\n%d\n", _inventory[_si]._id, _inventory[_si]._index); + sprintf(s, "%ul\n%d\n", _inventory[_si]._id, _inventory[_si]._index); f->writeString(s); } |