From: drjaska Date: Sun, 7 Jan 2024 22:15:36 +0000 (+0200) Subject: closing brace on wrong line after line swap X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5781cccb5cbcffbe2d037f8b8babe9b17bdc32e0;p=xonotic%2Fxonotic-data.pk3dir.git closing brace on wrong line after line swap --- 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()) {