mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 09:23:37 +00:00
AGI: Fix comment about end.of.loop/motion
This commit is contained in:
parent
5484f0bc58
commit
dd83d7a544
@ -65,7 +65,7 @@ void AgiEngine::changePos(ScreenObjEntry *screenObj) {
|
||||
// WORKAROUND:
|
||||
// A motion was just activated, check if "end.of.loop"/"reverse.loop" is currently active for the same screen object
|
||||
// If this is the case, it would result in some random flag getting overwritten in original AGI after the loop was
|
||||
// completed, because in original AGI loop_flag + move_flag shared the same memory location.
|
||||
// completed, because in original AGI loop_flag + wander_count/follow_stepSize/move_X shared the same memory location.
|
||||
// This is basically an implementation error in the original interpreter.
|
||||
// Happens in at least KQ1, when grabbing the eagle (room 22).
|
||||
void AgiEngine::motionActivated(ScreenObjEntry *screenObj) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user