void set_movetype(entity this, int mt)
{
this.move_movetype = mt;
- if (mt == MOVETYPE_PHYSICS) {
- this.move_qcphysics = false;
- } else if (autocvar_sv_qcphysics == 2) {
- this.move_qcphysics = true;
- }
+ this.move_qcphysics = (mt != MOVETYPE_PHYSICS);
if(!IL_CONTAINS(g_moveables, this))
IL_PUSH(g_moveables, this); // add it to the moveable entities list (even if it doesn't move!) logic: if an object never sets its movetype, we assume it never does anything notable
this.movetype = (this.move_qcphysics) ? MOVETYPE_QCENTITY : mt;