[Scummvm-tracker] [ScummVM :: Bugs] #10966: SCI: QFG4: Revenant money-randomness is broken

ScummVM :: Bugs trac at scummvm.org
Thu May 23 23:44:17 CEST 2019


#10966: SCI: QFG4: Revenant money-randomness is broken
--------------------------------------+-------------------------------
Reporter:  sluicebox                  |      Owner:  (none)
    Type:  defect                     |     Status:  new
Priority:  normal                     |  Component:  Engine: SCI
Keywords:  original has-pull-request  |       Game:  Quest for Glory 4
--------------------------------------+-------------------------------
 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.

-- 
Ticket URL: <https://bugs.scummvm.org/ticket/10966>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list