From 843e879b1bcc9c265b7db88d68a524775ccbbe68 Mon Sep 17 00:00:00 2001 From: terencehill Date: Fri, 11 Oct 2024 02:07:02 +0200 Subject: [PATCH] Fix #2937 "Division by 0 error if starting the match while zoomed in" --- qcsrc/client/main.qh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/client/main.qh b/qcsrc/client/main.qh index 6ecc2e036..698c70b2d 100644 --- a/qcsrc/client/main.qh +++ b/qcsrc/client/main.qh @@ -116,7 +116,7 @@ bool spectatorbutton_zoom; bool observe_blocked; bool button_attack2; -float current_viewzoom; +float current_viewzoom = 1; float zoomin_effect; bool warmup_stage; -- 2.39.2