Skip to content

Commit 2f5d9b5

Browse files
committed
Engine: fix Character_LockViewImpl()
1 parent 968b4c9 commit 2f5d9b5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Engine/ac/character.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -698,11 +698,11 @@ void Character_LockViewImpl(CharacterInfo *chap, const char *api_name,
698698
AssertViewHasLoops(api_name, chap->scrname.GetCStr(), view);
699699

700700
if (loop >= 0)
701-
AssertLoop(api_name, chap->scrname.GetCStr(), chap->view, loop);
701+
AssertLoop(api_name, chap->scrname.GetCStr(), view, loop);
702702
else
703703
loop = 0;
704704
if (frame >= 0)
705-
AssertFrame(api_name, chap->scrname.GetCStr(), view - 1, loop, frame);
705+
AssertFrame(api_name, chap->scrname.GetCStr(), view, loop, frame);
706706
else
707707
frame = 0;
708708

0 commit comments

Comments
 (0)