Mark monster_furniture, monster_generic and monstermaker as MULTIPLAYER available

This commit is contained in:
Marco Cawthorne 2020-06-25 11:05:28 +02:00
parent aef3b2f8c1
commit 980fe8f864
3 changed files with 5 additions and 6 deletions

View File

@ -46,12 +46,9 @@ void monster_furniture::monster_furniture(void)
SetModel(model);
CBaseEntity::CBaseEntity();
#if 1
self.movetype = MOVETYPE_NOCLIP;
self.solid = SOLID_NOT;
//self.avelocity = '0 90 0 ';
//self.modelflags = MF_ROTATE;
#endif
movetype = MOVETYPE_NOCLIP;
solid = SOLID_NOT;
spawnflags |= MSF_MULTIPLAYER;
}
CLASSEXPORT(ts_model, monster_furniture)

View File

@ -55,5 +55,6 @@ monster_generic::monster_generic(void)
base_maxs = [16,16,72];
}
spawnflags |= MSF_MULTIPLAYER;
CBaseNPC::CBaseNPC();
}

View File

@ -99,6 +99,7 @@ monstermaker::Spawner(void)
/* apply the saved values back */
t.origin = t.m_oldOrigin = neworg;
t.m_strTargetName = tname;
t.spawnflags |= MSF_MULTIPLAYER;
/* spawn anew */
t.Respawn();