aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/checks.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2009-06-06 17:45:52 +0000
committerEugene Sandulenko2009-06-06 17:45:52 +0000
commit1a321a206471bd3e18cd5c2d5d1cc452c051a235 (patch)
treedad892a2f900784d0e9f77b9d0bed15a39161c52 /engines/agi/checks.cpp
parent2113060c43c4975f0c2960d32b3e580ae86bb7ec (diff)
downloadscummvm-rg350-1a321a206471bd3e18cd5c2d5d1cc452c051a235.tar.gz
scummvm-rg350-1a321a206471bd3e18cd5c2d5d1cc452c051a235.tar.bz2
scummvm-rg350-1a321a206471bd3e18cd5c2d5d1cc452c051a235.zip
Cleanup
svn-id: r41254
Diffstat (limited to 'engines/agi/checks.cpp')
-rw-r--r--engines/agi/checks.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/checks.cpp b/engines/agi/checks.cpp
index 481ce8d18d..afede0b836 100644
--- a/engines/agi/checks.cpp
+++ b/engines/agi/checks.cpp
@@ -41,7 +41,7 @@ int AgiEngine::checkPosition(VtEntry *v) {
}
// MH1 needs this, but it breaks LSL1
- if (agiGetRelease() >= 0x3000) {
+ if (getVersion() >= 0x3000) {
if (v->yPos < v->ySize)
return 0;
}
@@ -212,7 +212,7 @@ void AgiEngine::updatePosition() {
if (x < 0) {
x = 0;
border = 4;
- } else if (x <= 0 && agiGetRelease() == 0x3086) { // KQ4
+ } else if (x <= 0 && getVersion() == 0x3086) { // KQ4
x = 0; // See Sarien bug #590462
border = 4;
} else if (v->entry == 0 && x == 0 && v->flags & ADJ_EGO_XY) {