Skip to content

Commit

Permalink
Fix Gungnir Scope camera clipping
Browse files Browse the repository at this point in the history
  • Loading branch information
UndeadZeratul committed Oct 17, 2023
1 parent 3eb926d commit 3de7e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zscript/accensus/weapons/Gungnir/gungnir.zs
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ class HDGungnir : HDCellWeapon

texman.setcameratotexture(hpc, "HDXCAM_BOSS", 5);
let cam = texman.CheckForTexture("HDXCAM_BOSS",TexMan.Type_Any);
sb.DrawCircle(cam,(0,scaledyoffset)+bob*3,.11,usePixelRatio:true);
sb.DrawCircle(cam,(0,scaledyoffset)+bob*3,.125,usePixelRatio:true);

sb.DrawImage("SCOPHOLE", (0, ScaledYOffset) + bob * 5, sb.DI_SCREEN_CENTER | sb.DI_ITEM_CENTER, scale: (1.5, 1.5));
Screen.SetClipRect(cx, cy, cw, ch);
Expand Down

0 comments on commit 3de7e4e

Please sign in to comment.