aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorMartin Kiewitz2010-08-29 15:23:08 +0000
committerMartin Kiewitz2010-08-29 15:23:08 +0000
commit2fb722056c94ee8d2b14ef195bb910fb6bef9587 (patch)
treebc1670673252d3a8d85c72bdf3b9b8391d0b1093 /engines/sci/engine
parent357fb5c60438e1ec495a1ce9c7d149034bfa6cd2 (diff)
downloadscummvm-rg350-2fb722056c94ee8d2b14ef195bb910fb6bef9587.tar.gz
scummvm-rg350-2fb722056c94ee8d2b14ef195bb910fb6bef9587.tar.bz2
scummvm-rg350-2fb722056c94ee8d2b14ef195bb910fb6bef9587.zip
SCI: fix warning (thx wjp, thank you not msvc)
svn-id: r52443
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/kfile.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/sci/engine/kfile.cpp b/engines/sci/engine/kfile.cpp
index f87e6ea990..48f3691cb5 100644
--- a/engines/sci/engine/kfile.cpp
+++ b/engines/sci/engine/kfile.cpp
@@ -954,7 +954,6 @@ reg_t DirSeeker::firstFile(const Common::String &mask, reg_t buffer, SegManager
if (QfGImport == 3) {
// QfG3 sorts the filelisting itself, we can't let that happen otherwise our
// virtual list would go out-of-sync
- SegManager *segMan = g_sci->getEngineState()->_segMan;
reg_t savedHeros = segMan->findObjectByName("savedHeros");
if (!savedHeros.isNull())
writeSelectorValue(segMan, savedHeros, SELECTOR(sort), 0);