monster_generic: Set alliance to neutral.
This commit is contained in:
parent
6f3b07ed34
commit
662e01c84d
1 changed files with 3 additions and 1 deletions
|
@ -54,6 +54,7 @@ monster_generic::monster_generic(void)
|
||||||
base_maxs = [16,16,72];
|
base_maxs = [16,16,72];
|
||||||
}
|
}
|
||||||
base_health = 100;
|
base_health = 100;
|
||||||
|
m_iAlliance = MAL_NEUTRAL;
|
||||||
|
|
||||||
spawnflags |= MSF_MULTIPLAYER;
|
spawnflags |= MSF_MULTIPLAYER;
|
||||||
}
|
}
|
||||||
|
@ -61,7 +62,8 @@ monster_generic::monster_generic(void)
|
||||||
void
|
void
|
||||||
monster_generic::Respawn(void)
|
monster_generic::Respawn(void)
|
||||||
{
|
{
|
||||||
NSTalkMonster::Respawn();
|
super::Respawn();
|
||||||
|
SetSize(base_mins, base_maxs);
|
||||||
|
|
||||||
if (HasSpawnFlags(MGF_NONSOLID)) {
|
if (HasSpawnFlags(MGF_NONSOLID)) {
|
||||||
takedamage = DAMAGE_NO;
|
takedamage = DAMAGE_NO;
|
||||||
|
|
Loading…
Reference in a new issue