diff options
author | Matthew Hoops | 2010-07-22 20:38:28 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-07-22 20:38:28 +0000 |
commit | 9dcbff72596094e44bea0b59701830b59e92fad9 (patch) | |
tree | 32c1662a6ec075e34c577cf171899eb42309e139 /engines/sci/graphics | |
parent | 2e1486986728e30d480d73d944059c3fdcb75925 (diff) | |
download | scummvm-rg350-9dcbff72596094e44bea0b59701830b59e92fad9.tar.gz scummvm-rg350-9dcbff72596094e44bea0b59701830b59e92fad9.tar.bz2 scummvm-rg350-9dcbff72596094e44bea0b59701830b59e92fad9.zip |
SCI: Hopefully fix compilation when ENABLE_SCI32 is not defined
svn-id: r51164
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r-- | engines/sci/graphics/compare.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/graphics/compare.cpp b/engines/sci/graphics/compare.cpp index c019687fc2..c67126bfba 100644 --- a/engines/sci/graphics/compare.cpp +++ b/engines/sci/graphics/compare.cpp @@ -132,6 +132,7 @@ void GfxCompare::kernelSetNowSeen(reg_t objectReference) { view = _cache->getView(viewId); +#ifdef ENABLE_SCI32 switch (getSciVersion()) { case SCI_VERSION_2: if (view->isSci2Hires()) @@ -143,9 +144,11 @@ void GfxCompare::kernelSetNowSeen(reg_t objectReference) { default: break; } +#endif view->getCelRect(loopNo, celNo, x, y, z, celRect); +#ifdef ENABLE_SCI32 switch (getSciVersion()) { case SCI_VERSION_2: if (view->isSci2Hires()) { @@ -162,6 +165,7 @@ void GfxCompare::kernelSetNowSeen(reg_t objectReference) { default: break; } +#endif if (lookupSelector(_segMan, objectReference, SELECTOR(nsTop), NULL, NULL) == kSelectorVariable) { writeSelectorValue(_segMan, objectReference, SELECTOR(nsLeft), celRect.left); |