]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Push the location further to the side when setting it a bit infront, hopefully fixes...
authorMario <mario@smbclan.net>
Sat, 12 Mar 2016 00:43:35 +0000 (10:43 +1000)
committerMario <mario@smbclan.net>
Sat, 12 Mar 2016 00:43:35 +0000 (10:43 +1000)
qcsrc/common/mutators/mutator/spawn_near_teammate/spawn_near_teammate.qc

index c08722d36f49ed859d8dc1d624010b971c642a31..23348f39de912359df2e8b5f080310ff1532be7d 100644 (file)
@@ -108,10 +108,10 @@ MUTATOR_HOOKFUNCTION(spawn_near_teammate, PlayerSpawn)
                                                                        tracebox(it.origin , STAT(PL_MIN, NULL), STAT(PL_MAX, NULL), it.origin - v_right * 128 , MOVE_NOMONSTERS, it);
                                                                        break;
                                                                case 2:
-                                                                       tracebox(it.origin , STAT(PL_MIN, NULL), STAT(PL_MAX, NULL), it.origin + v_right * 64 - v_forward * 64, MOVE_NOMONSTERS, it);
+                                                                       tracebox(it.origin , STAT(PL_MIN, NULL), STAT(PL_MAX, NULL), it.origin + v_right * 128 - v_forward * 64, MOVE_NOMONSTERS, it);
                                                                        break;
                                                                case 3:
-                                                                       tracebox(it.origin , STAT(PL_MIN, NULL), STAT(PL_MAX, NULL), it.origin - v_right * 64 - v_forward * 64, MOVE_NOMONSTERS, it);
+                                                                       tracebox(it.origin , STAT(PL_MIN, NULL), STAT(PL_MAX, NULL), it.origin - v_right * 128 - v_forward * 64, MOVE_NOMONSTERS, it);
                                                                        break;
                                                                //case 4:
                                                                        //tracebox(it.origin , STAT(PL_MIN, NULL), STAT(PL_MAX, NULL), it.origin - v_forward * 128, MOVE_NOMONSTERS, it);