mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-01 06:58:34 +00:00
AGI: motion type check in objectstop was AGI3 only
verified via disassembly
This commit is contained in:
parent
428df3e6cb
commit
4afda5bbea
@ -209,7 +209,14 @@ void AgiEngine::inDestination(ScreenObjEntry *screenObj) {
|
||||
|
||||
void AgiEngine::motionMoveObjStop(ScreenObjEntry *screenObj) {
|
||||
screenObj->stepSize = screenObj->move_stepSize;
|
||||
if (screenObj->motionType != kMotionEgo) {
|
||||
|
||||
uint16 agiVersion = getVersion();
|
||||
if (agiVersion >= 0x3000) {
|
||||
// this check was only done for AGI3
|
||||
if (screenObj->motionType != kMotionEgo) {
|
||||
setflag(screenObj->move_flag, true);
|
||||
}
|
||||
} else {
|
||||
setflag(screenObj->move_flag, true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user