]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix nades colliding with the player himself (unless g_nades_nade_small is 1) 367/head
authorMartin Taibr <taibr.martin@gmail.com>
Fri, 16 Sep 2016 00:40:30 +0000 (02:40 +0200)
committerMartin Taibr <taibr.martin@gmail.com>
Fri, 16 Sep 2016 00:40:30 +0000 (02:40 +0200)
qcsrc/common/mutators/mutator/nades/nades.qc

index c4e73d286d13946e64024fc976ae1d5987e3347a..02760045c3e89e68bd8f309ad80a3fba7fd7ca8c 100644 (file)
@@ -911,7 +911,7 @@ void toss_nade(entity e, bool set_owner, vector _velocity, float _time)
                setsize(_nade, '-16 -16 -16', '16 16 16');
        set_movetype(_nade, MOVETYPE_BOUNCE);
 
-       tracebox(_nade.origin, _nade.mins, _nade.maxs, _nade.origin, false, _nade);
+       tracebox(_nade.origin, _nade.mins, _nade.maxs, _nade.origin, MOVE_NOMONSTERS, _nade);
        if (trace_startsolid)
                setorigin(_nade, e.origin);