Skip to content

Commit

Permalink
Change function from private to protected by request.
Browse files Browse the repository at this point in the history
  • Loading branch information
MajorCooke authored and RicardoLuis0 committed Nov 4, 2024
1 parent 1620d40 commit ceb2de3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wadsrc/static/zscript/actors/shared/camera.zs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ Class OrthographicCamera : Actor
}

private int current;
private void UpdateViewPos()
protected void UpdateViewPos()
{
current = args[0];
SetViewPos((-abs(max(1.0, double(current))), 0, 0), VPSF_ORTHOGRAPHIC|VPSF_ALLOWOUTOFBOUNDS);
Expand Down

0 comments on commit ceb2de3

Please sign in to comment.