diff options
author | Travis Howell | 2006-10-13 05:00:19 +0000 |
---|---|---|
committer | Travis Howell | 2006-10-13 05:00:19 +0000 |
commit | 9d96bdfe9ae98593116474dc11c917bb0e7f51ed (patch) | |
tree | 80c0c861b158375f5d0cdbb3d4b0d08767c51855 | |
parent | 71c33847933c8106096fc677b6dd609c7b2ec5e3 (diff) | |
download | scummvm-rg350-9d96bdfe9ae98593116474dc11c917bb0e7f51ed.tar.gz scummvm-rg350-9d96bdfe9ae98593116474dc11c917bb0e7f51ed.tar.bz2 scummvm-rg350-9d96bdfe9ae98593116474dc11c917bb0e7f51ed.zip |
Fix regressions when drawing icons in FF
svn-id: r24287
-rw-r--r-- | engines/agos/agos.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/engines/agos/agos.cpp b/engines/agos/agos.cpp index 695806dc5d..7829b45c17 100644 --- a/engines/agos/agos.cpp +++ b/engines/agos/agos.cpp @@ -2296,11 +2296,10 @@ int AGOSEngine::go() { addTimeEvent(0, 1); openGameFile(); - if (getFileName(GAME_ICONFILE) != NULL) { - if (getGameType() == GType_FF) - loadIconData(); - else - loadIconFile(); + if (getGameType() == GType_FF) { + loadIconData(); + } else if (getFileName(GAME_ICONFILE) != NULL) { + loadIconFile(); } vc34_setMouseOff(); |