]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Begin adding FLAG_PASSING flag status and think/touch methods
authorSamual <samual@xonotic.org>
Sat, 31 Mar 2012 20:46:17 +0000 (16:46 -0400)
committerSamual <samual@xonotic.org>
Sat, 31 Mar 2012 20:46:17 +0000 (16:46 -0400)
qcsrc/server/mutators/gamemode_ctf.qc

index e3802f99e4cd2672b3a8b99aafe950f6778f2e8a..5bce0fd4d0b8cf4098d817f6a0e3e2e6ecf60420 100644 (file)
@@ -600,6 +600,12 @@ void ctf_FlagThink()
                        }
                        return;
                }
+               
+               case FLAG_PASSING:
+               {
+                       dprint("Someone touched a flag even though it was being carried?\n");
+                       break;
+               }
 
                default: // this should never happen
                {
@@ -657,6 +663,12 @@ void ctf_FlagTouch()
                        break;
                }
                
+               case FLAG_PASSING:
+               {
+                       dprint("Someone touched a flag even though it was being carried?\n");
+                       break;
+               }
+               
                default: // this should never happen
                {
                        dprint("Touch: Flag exists with no status?\n");