aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/event.cpp
diff options
context:
space:
mode:
authorMartin Kiewitz2010-04-24 21:45:17 +0000
committerMartin Kiewitz2010-04-24 21:45:17 +0000
commit194bdd9b8375ae6612ef8ee2c733b6349c12d0fe (patch)
tree64421739ff3104aed4d677c2d5619e406ae1a0b1 /engines/sci/event.cpp
parent8f9dd90a871dee20ccb61efc2a5727f7a11b4a05 (diff)
downloadscummvm-rg350-194bdd9b8375ae6612ef8ee2c733b6349c12d0fe.tar.gz
scummvm-rg350-194bdd9b8375ae6612ef8ee2c733b6349c12d0fe.tar.bz2
scummvm-rg350-194bdd9b8375ae6612ef8ee2c733b6349c12d0fe.zip
SCI: reverting r48787 port updates were actually introduced (heard that before) in SCI1. I used the outdated wiki before and that one lists qfg2 and xmas90ega being SCI01. They are actually SCI1
svn-id: r48789
Diffstat (limited to 'engines/sci/event.cpp')
-rw-r--r--engines/sci/event.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/sci/event.cpp b/engines/sci/event.cpp
index 5017dc6a63..6477ca0bea 100644
--- a/engines/sci/event.cpp
+++ b/engines/sci/event.cpp
@@ -36,8 +36,9 @@ namespace Sci {
#define SCANCODE_ROWS_NR 3
-SciEvent::SciEvent(bool fontIsExtended)
- : _fontIsExtended(fontIsExtended) {
+SciEvent::SciEvent(ResourceManager *resMan) {
+ // Check, if font of current game includes extended chars
+ _fontIsExtended = resMan->detectFontExtended();
}
SciEvent::~SciEvent() {