Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Dark Dreams of Furiae - a new module for NWN:EE! Buy now
Attention, new and old users! Please read the new rules of conduct for the forums, and we hope you enjoy your stay!

([BG1] Bug) Red Sheaf Inn Sleeping Man

BalquoBalquo Member, Developer Posts: 2,746
edited November 2012 in Fixed
Current Behaviour
There is supposed to be six sleeping on the second floor in the Red Sheaf Inn (AR3303), yet only five are visible. The location of the sixth was restricting it from being shown (but you could still hear him snoring).

Expected Behaviour
To be able to see him.

The fix:
COPY_EXISTING ar3303.are override // Beregost - Red Sheaf 2nd Floor Sleeping Man Fix
READ_LONG 0x54 act_off
READ_SHORT 0x58 act_cnt
FOR (i = 0; i < act_cnt; i += 1) BEGIN
READ_SHORT (i * 0x110 + act_off + 0x20) xoff
READ_SHORT (i * 0x110 + act_off + 0x22) yoff
PATCH_IF (xoff = 619) AND (yoff = 512) BEGIN // Sleeping Man not visible
WRITE_SHORT (i * 0x110 + act_off + 0x22) 517
WRITE_SHORT (i * 0x110 + act_off + 0x26) 517

Post edited by Tanthalas on
Sign In or Register to comment.