HDB: Fix compilation on Amiga

This commit is contained in:
Eugene Sandulenko 2019-09-03 21:07:51 +02:00
parent 8ec8b5fc7d
commit a7e30d0e7f
4 changed files with 20 additions and 13 deletions

View file

@ -65,7 +65,7 @@ Common::Error HDBGame::saveGameState(int slot, const Common::String &desc) {
Graphics::saveThumbnail(*out);
memset(&_saveHeader, 0, sizeof(Save));
_saveHeader.fileSlot = 0;
strcpy(_saveHeader.saveID, saveFileName.c_str());
_saveHeader.seconds = _timeSeconds + (_timePlayed / 1000);
strcpy(_saveHeader.mapName, _inMapName);