X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Ftriggers%2Ffunc%2Fbreakable.qc;h=6763701d31fa91d52468af4e71f657d0986313e7;hp=1a65710a98346fcd1115b60ca06887e6282b7f87;hb=c4230403a60e672acde0b6dfa32ca67f56879183;hpb=366896e7245f72562521ca1d957505198b1bb275 diff --git a/qcsrc/common/triggers/func/breakable.qc b/qcsrc/common/triggers/func/breakable.qc index 1a65710a9..6763701d3 100644 --- a/qcsrc/common/triggers/func/breakable.qc +++ b/qcsrc/common/triggers/func/breakable.qc @@ -59,7 +59,7 @@ void LaunchDebris (entity this, string debrisname, vector force) dbr.skin = this.debrisskin; dbr.colormap = this.colormap; // inherit team colors dbr.owner = this; // do not be affected by our own explosion - dbr.movetype = this.debrismovetype; + set_movetype(dbr, this.debrismovetype); dbr.solid = this.debrissolid; if(dbr.solid != SOLID_BSP) // SOLID_BSP has exact collision, MAYBE this works? TODO check this out setsize(dbr, '0 0 0', '0 0 0'); // needed for performance, until engine can deal better with it