diff options
author | uruk | 2013-08-20 19:23:24 +0200 |
---|---|---|
committer | uruk | 2013-08-20 19:23:24 +0200 |
commit | aab393077942224a5f376846582f7cd987366f75 (patch) | |
tree | a478697e854d0fac5c87c9f07189ea5b8ec36c34 /engines/avalanche/trip6.cpp | |
parent | f9047bb83d8b66a604ebb02dabe77974dd758a4e (diff) | |
download | scummvm-rg350-aab393077942224a5f376846582f7cd987366f75.tar.gz scummvm-rg350-aab393077942224a5f376846582f7cd987366f75.tar.bz2 scummvm-rg350-aab393077942224a5f376846582f7cd987366f75.zip |
AVALANCHE: Implement loading from the Launcher. Upgrade saveGame(), loadGame() in, add expandDate() to AvalancheEngine. Revise Avalot::setup(). Repair Lucerna::load() and triptype::init().
Diffstat (limited to 'engines/avalanche/trip6.cpp')
-rw-r--r-- | engines/avalanche/trip6.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/avalanche/trip6.cpp b/engines/avalanche/trip6.cpp index d4573a0851..54312ce773 100644 --- a/engines/avalanche/trip6.cpp +++ b/engines/avalanche/trip6.cpp @@ -79,7 +79,8 @@ void triptype::init(byte spritenum, bool do_check, Trip *tr) { inf.skip(2); // Replace variable named 'soa' in the original code. - //inf.skip(1); // We don't need to read the size of the string as in the original code. + if (!a.name.empty()) + a.name.clear(); byte nameSize = inf.readByte(); for (byte i = 0; i < nameSize; i++) a.name += inf.readByte(); |