Add a TODO note on the new flag line
authorMario <mario.mario@y7mail.com>
Fri, 17 Apr 2020 12:49:37 +0000 (22:49 +1000)
committerMario <mario.mario@y7mail.com>
Fri, 17 Apr 2020 12:49:37 +0000 (22:49 +1000)
qcsrc/common/gamemodes/gamemode/ctf/sv_ctf.qc

index 5e50863..9f38cd9 100644 (file)
@@ -1147,7 +1147,7 @@ METHOD(Flag, giveTo, bool(Flag this, entity flag, entity toucher))
 .float last_respawn;
 void ctf_RespawnFlag(entity flag)
 {
-       flag.watertype = CONTENT_EMPTY;
+       flag.watertype = CONTENT_EMPTY; // TODO: it is unclear why this workaround is needed, likely many other potential breakage points!!
        // check for flag respawn being called twice in a row
        if(flag.last_respawn > time - 0.5)
                { backtrace("flag respawn called twice quickly! please notify Samual about this..."); }