#3031 closed defect (fixed)
AGI : SQ2 / 2.0F / IBM / priority line
Reported by: | SF/darkfiber | Owned by: | bluegr |
---|---|---|---|
Priority: | normal | Component: | Engine: AGI |
Version: | Keywords: | ||
Cc: | Game: | Space Quest 2 |
Description
AGI : SQ2 : 2.0F / IBM 3.5" : Priority line off by 1
priority bug, roger can 'wak through' the crashed ship a pixel too far.
Looks like an off-by-1 bug when comparing priority lines
Ticket imported from: #1648396. Ticket imported from: bugs/3031.
Change History (6)
comment:1 by , 18 years ago
comment:3 by , 18 years ago
Status: | new → closed |
---|
comment:5 by , 18 years ago
Owner: | changed from | to
---|---|
Resolution: | → fixed |
comment:6 by , 6 years ago
Component: | → Engine: AGI |
---|---|
Game: | → Space Quest 2 |
Note:
See TracTickets
for help on using tickets.
I see I accidentally filed a duplicate of this as bug #1677840. I'll just paste the maybe-relevant part of it here, so we'll have all information in one place:
"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."