]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Use model size for casing bbox
authorbones_was_here <bones_was_here@xonotic.au>
Sat, 24 Dec 2022 11:42:48 +0000 (21:42 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Sat, 24 Dec 2022 11:43:45 +0000 (21:43 +1000)
Fixes floating slightly off the ground or poking into solids
horizontally

qcsrc/common/effects/qc/casings.qc

index 3de21aeda4e9f239a65fb3c229307eaad81a5ba7..b49ff60faceaccb3b46a88cde7ad1825907c684c 100644 (file)
@@ -197,8 +197,6 @@ NET_HANDLE(casings, bool isNew)
             break;
     }
 
-    setsize(casing, '0 0 -1', '0 0 -1');
-
     LimitedChildrenRubble(CasingsNGibs, "casing", autocvar_cl_casings_maxcount, Casing_Delete, NULL);
 }