diff options
author | Max Horn | 2010-02-13 17:42:49 +0000 |
---|---|---|
committer | Max Horn | 2010-02-13 17:42:49 +0000 |
commit | ac4d325e0d61b649026a5f5414f749697b285ccc (patch) | |
tree | c58f62596d050be62e98180c0255e7998a9a62e4 /engines/sci/engine/kmisc.cpp | |
parent | 24fd77eb242c4d90e8c3a3b0bcc5f0c48a4dc77f (diff) | |
download | scummvm-rg350-ac4d325e0d61b649026a5f5414f749697b285ccc.tar.gz scummvm-rg350-ac4d325e0d61b649026a5f5414f749697b285ccc.tar.bz2 scummvm-rg350-ac4d325e0d61b649026a5f5414f749697b285ccc.zip |
SCI: Add global g_sci pointer to the active SciEngine instance
svn-id: r48046
Diffstat (limited to 'engines/sci/engine/kmisc.cpp')
-rw-r--r-- | engines/sci/engine/kmisc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kmisc.cpp b/engines/sci/engine/kmisc.cpp index bd1cf587ea..01aa1fe6f8 100644 --- a/engines/sci/engine/kmisc.cpp +++ b/engines/sci/engine/kmisc.cpp @@ -306,7 +306,7 @@ enum kPlatformOps { }; reg_t kPlatform(EngineState *s, int argc, reg_t *argv) { - bool isWindows = ((SciEngine*)g_engine)->getPlatform() == Common::kPlatformWindows; + bool isWindows = g_sci->getPlatform() == Common::kPlatformWindows; if (argc == 0 && getSciVersion() < SCI_VERSION_2) { // This is called in KQ5CD with no parameters, where it seems to do some graphics |