diff options
author | Nicola Mettifogo | 2007-04-15 20:57:56 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-04-15 20:57:56 +0000 |
commit | c43960b958fc7a6e7c1bf83c75cc5033a049f952 (patch) | |
tree | dce2c2ffc6a85733efbcca6d5a29b731799d681a /engines/parallaction/disk.cpp | |
parent | 2c9116de3b1510807bebc39c10332b3bd19d2184 (diff) | |
download | scummvm-rg350-c43960b958fc7a6e7c1bf83c75cc5033a049f952.tar.gz scummvm-rg350-c43960b958fc7a6e7c1bf83c75cc5033a049f952.tar.bz2 scummvm-rg350-c43960b958fc7a6e7c1bf83c75cc5033a049f952.zip |
- Fonts are now preloaded at start.
- Replaced font string names with enums.
- Some slight simplification to Disk.
svn-id: r26518
Diffstat (limited to 'engines/parallaction/disk.cpp')
-rw-r--r-- | engines/parallaction/disk.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/parallaction/disk.cpp b/engines/parallaction/disk.cpp index c224ac5801..1ed4624429 100644 --- a/engines/parallaction/disk.cpp +++ b/engines/parallaction/disk.cpp @@ -920,10 +920,7 @@ Cnv* AmigaDisk::loadFont(const char* name) { debugC(1, kDebugDisk, "AmigaDisk::loadFont '%s'", name); char path[PATH_LEN]; - if (scumm_stricmp(name, "topaz")) - sprintf(path, "%sfont", name); - else - strcpy(path, "introfont"); + sprintf(path, "%sfont", name); if (!_resArchive.openArchivedFile(path)) errorFileNotFound(path); |