Opened 21 years ago
Closed 21 years ago
Last modified 5 years ago
#8022 closed patch (wontfix)
Loom flashlight hack
|Reported by:||eriktorbjorn||Owned by:||fingolfin|
I was very happy to see that flashlight support has been added to ScummVM. Unfortunately it's broken in Loom CD.
o5_lights() is called twice: supposedly once to turn on the flashlight, and once to set its dimensions. However, the b and c variables are set to 0 in both cases, so it just turns on the flashlight twice and then doesn't do anything useful with it.
I have no idea to solve this properly, so this patch is just a quick workaround hack.
Ticket imported from: #598621. Ticket imported from: patches/127.
Change History (4)
by , 21 years ago
comment:1 by , 21 years ago
The proper fix is to simply initialize the flashlight size variables to 7 and 7 - that's apparently how the original does it, too.
comment:2 by , 21 years ago
|Status:||new → closed|
comment:3 by , 5 years ago
|Component:||→ Engine: SCUMM|
Patch against an August 21 CVS snapshot