NScumm.Scumm.ScummEngine6.Jump C# (CSharp) Метод

Jump() приватный Метод

private Jump ( ) : void
Результат void
        protected virtual void Jump()
        {
            var offset = ReadWordSigned();

            // WORKAROUND bug #2826144: Talking to the guard at the bigfoot party, after
            // he's let you inside, will cause the game to hang, if you end the conversation.
            // This is a script bug, due to a missing jump in one segment of the script.
            if (Game.GameId == Scumm.IO.GameId.SamNMax && Slots[CurrentScript].Number == 101 && ReadVariable(0x8000 + 97) == 1 && offset == 1)
            {
                offset = -18;
            }

            CurrentPos += offset;
        }
ScummEngine6