]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Move DROP_RESET case slightly
authorSamual <samual@xonotic.org>
Sun, 1 Apr 2012 20:58:16 +0000 (16:58 -0400)
committerSamual <samual@xonotic.org>
Sun, 1 Apr 2012 20:58:16 +0000 (16:58 -0400)
qcsrc/server/mutators/gamemode_ctf.qc

index fd06e0df9fa0332961e65c5bba89f42dbf320e50..e21640370a0098f0341fe698554126532102ca2b 100644 (file)
@@ -281,8 +281,13 @@ void ctf_Handle_Throw(entity player, entity reciever, float droptype)
                        break;
                }
                
-               default:
                case DROP_RESET:
+               {
+                       flag.velocity = '0 0 0'; // do nothing
+                       break;
+               }
+               
+               default:
                case DROP_NORMAL:
                {
                        flag.velocity = ('0 0 200' + ('0 100 0' * crandom()) + ('100 0 0' * crandom()));