Ticket #5673: SQ2-name-fix.patch

File SQ2-name-fix.patch, 363 bytes (added by digitall, 8 years ago)

Patch to fix for just SQ2 Name..

  • engines/agi/agi.cpp

    diff --git a/engines/agi/agi.cpp b/engines/agi/agi.cpp
    index 811a58f..b64d6e9 100644
    a b int AgiEngine::agiInit() {  
    364364
    365365        // clear string buffer
    366366        for (i = 0; i < MAX_STRINGS; i++)
    367                 _game.strings[i][0] = 0;
     367                if (!(_restartGame && i == 1))
     368                        _game.strings[i][0] = 0;
    368369
    369370        // setup emulation
    370371