From: terencehill Date: Fri, 11 Oct 2024 00:07:02 +0000 (+0200) Subject: Fix #2937 "Division by 0 error if starting the match while zoomed in" X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=843e879b1bcc9c265b7db88d68a524775ccbbe68;p=xonotic%2Fxonotic-data.pk3dir.git Fix #2937 "Division by 0 error if starting the match while zoomed in" --- 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;