SQ2: Walk glitch
|Reported by:||eriktorbjorn||Owned by:||eriktorbjorn|
|Cc:||Game:||Space Quest 2|
English DOS version Latest SVN snapshot
After you have crash landed on the planet, if you walk towards the wreckage from behind, Roger doesn't stop until he's visible through the wreckage. This glitch does not happen with DOSbox or NAGI.
It could be a problem with checkPriority(). If I change that to always return 1, I can walk right through the wreckage. The corresponding function in NAGI appears to be obj_chk_control().
NAGI's objs_step_update() triggers when Y reaches 144 to move you back to 143. Our updatePosition() triggers when Y reaches 145 and moves you back to 144. Assuming they handle coordinates the same way, something's different.
(This was tested with a rather old version of NAGI. I haven't checked if there's a newer one.)
Ticket imported from: #1677840. Ticket imported from: bugs/3112.