diff options
author | Eugene Sandulenko | 2016-01-04 00:47:16 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-01-04 00:47:16 +0100 |
commit | b38646790386fcc107431c286a907d1ccd0e525a (patch) | |
tree | af523cfae7791d4bf6c4aaabf9fd238a8a7583f1 /engines/wage | |
parent | cc14b5f96fc6457e240d8c7c9a9c16422dc3586d (diff) | |
download | scummvm-rg350-b38646790386fcc107431c286a907d1ccd0e525a.tar.gz scummvm-rg350-b38646790386fcc107431c286a907d1ccd0e525a.tar.bz2 scummvm-rg350-b38646790386fcc107431c286a907d1ccd0e525a.zip |
WAGE: Fix crash when wage.dat is not present
Diffstat (limited to 'engines/wage')
-rw-r--r-- | engines/wage/gui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp index 3d3a5025d4..6ecc4c8a57 100644 --- a/engines/wage/gui.cpp +++ b/engines/wage/gui.cpp @@ -539,6 +539,8 @@ void Gui::loadFonts() { if (!dat) { warning("Could not find wage.dat. Falling back to built-in fonts"); _builtInFonts = true; + + return; } Common::ArchiveMemberList list; |