Opened 14 years ago

Closed 14 years ago

Last modified 6 years ago

#9179 closed patch (fixed)

BRA: fix inventory hitCharacter check

Reported by: fuzzie Owned by: peres
Priority: normal Component: Engine: Parallaction
Version: Keywords:
Cc: Game:


This makes the inventory code use the scrolled coordinates for the hitCharacter check, which seems to be what the other hitZone call in the input code is doing. Seems to be needed for all versions.

I assume this also affects NS. Patch against trunk.

Ticket imported from: #3004658. Ticket imported from: patches/1284.

Attachments (1)

0005-use-absolute-cursor-position-when-checking-hitCharac.txt (802 bytes ) - added by fuzzie 14 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 by fuzzie, 14 years ago

Owner: set to peres

comment:2 by peres, 14 years ago

What problem is this patch meant to solve?

comment:3 by peres, 14 years ago

Status: newpending

comment:4 by fuzzie, 14 years ago

Without this patch, combining items does not work when you are scrolled away from the left side of a screen, because the mouse coordinates are not adjusted to the correct place.

comment:5 by fuzzie, 14 years ago

Status: pendingnew

comment:6 by peres, 14 years ago

Resolution: fixed
Status: newclosed

comment:7 by peres, 14 years ago

There were some old FIXMEs in the hitZone* code, and your patch addressed them all. I committed it in r49135 and updated the related comments.

comment:8 by digitall, 6 years ago

Component: Engine: Parallaction
Note: See TracTickets for help on using tickets.