mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-20 08:53:51 +00:00
This particular case in ScummEngine::openRoom only occurs for V4 games; changing the check accordingly, to ease future refactoring
svn-id: r21063
This commit is contained in:
parent
bb38ea2c17
commit
5e881c158a
@ -101,7 +101,7 @@ void ScummEngine::openRoom(const int room) {
|
||||
if (_game.id == GID_MANIAC)
|
||||
sprintf(buf2, "%.2d.man", room);
|
||||
encByte = (_game.features & GF_USE_KEY) ? 0xFF : 0;
|
||||
} else if (_game.features & GF_SMALL_HEADER) {
|
||||
} else if (_game.version == 4) {
|
||||
if (room == 0 || room >= 900) {
|
||||
sprintf(buf, "%.3d.lfl", room);
|
||||
encByte = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user