From 5781cccb5cbcffbe2d037f8b8babe9b17bdc32e0 Mon Sep 17 00:00:00 2001 From: drjaska Date: Mon, 8 Jan 2024 00:15:36 +0200 Subject: [PATCH] closing brace on wrong line after line swap --- qcsrc/client/view.qc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qcsrc/client/view.qc b/qcsrc/client/view.qc index bf05ed20a..16d78368c 100644 --- a/qcsrc/client/view.qc +++ b/qcsrc/client/view.qc @@ -1652,10 +1652,10 @@ void CSQC_UpdateView(entity this, float w, float h) // fire intermission hooks and gameend hook here // gameend hook is executed on CSQC VM shutdown if // the shutdown happens before intermission start - if(intermission + if (intermission && (calledhooks & HOOK_START) // ensure that we have initiated a gamemode - && !(calledhooks & HOOK_END)) // fire only once - && !(calledhooks & HOOK_INTERMISSION) + && !(calledhooks & HOOK_END) // fire only once + && !(calledhooks & HOOK_INTERMISSION)) { if(!isdemo()) { -- 2.39.2