Opened 6 years ago
Closed 6 years ago
#10966 closed defect (fixed)
SCI: QFG4: Revenant money-randomness is broken
Reported by: | sluicebox | Owned by: | sluicebox |
---|---|---|---|
Priority: | normal | Component: | Engine: SCI |
Version: | Keywords: | original has-pull-request | |
Cc: | Game: | Quest for Glory 4 |
Description
Searching the body of a revenant always awards 15 kopeks instead of the intended 15 to 40. Affects all versions.
The game's script is missing the first parameter to kRandom, so instead of requesting a random number between 0 and 25 and adding 15, the random number generator is reseeded to 25 (which we don't support) and 15 is always used.
To reproduce with attached save from CD version, search the body and then check inventory. This save starts with 30 kopeks and you always end up with 45.
Attachments (1)
Change History (4)
by , 6 years ago
Attachment: | gk1-cd.055 added |
---|
comment:1 by , 6 years ago
Owner: | set to |
---|
comment:3 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
https://github.com/scummvm/scummvm/pull/1636