NScumm.Scumm.ScummEngine.ResetScriptPointer C# (CSharp) Method

ResetScriptPointer() private method

private ResetScriptPointer ( ) : void
return void
        void ResetScriptPointer()
        {
            CurrentPos = (int)_slots[CurrentScript].Offset;
            if (CurrentPos < 0)
                throw new NotSupportedException("Invalid offset in reset script pointer");
        }
ScummEngine