Skip to content

Commit

Permalink
Merge branch 'build-better' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
drzel committed Sep 16, 2024
2 parents 5bfd311 + 4f3da26 commit 0406688
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions csqc/main.qc
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,7 @@ noref float(string cmd) CSQC_ConsoleCommand = {
break;
case PC_ENGINEER:
if (previewing_sentry) {
anglemod(sentry_preview.angles_y -= 15);
anglemod(sentry_preview_offset -= 15);
sentry_preview_offset = anglemod(sentry_preview_offset - 15);
} else {
localcmd("cmd sentry rotate 15\n");
}
Expand All @@ -318,8 +317,7 @@ noref float(string cmd) CSQC_ConsoleCommand = {
break;
case PC_ENGINEER:
if (previewing_sentry) {
anglemod(sentry_preview.angles_y += 15);
anglemod(sentry_preview_offset += 15);
sentry_preview_offset = anglemod(sentry_preview_offset + 15);
} else {
localcmd("cmd sentry rotate -15\n");
}
Expand Down

0 comments on commit 0406688

Please sign in to comment.