mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-05-08 19:48:08 +03:00
parent
cc721a3db6
commit
7a2735885f
1 changed files with 10 additions and 0 deletions
|
@ -2515,6 +2515,11 @@ void Sentient::EventGerman(Event *ev)
|
||||||
if (bRejoinSquads) {
|
if (bRejoinSquads) {
|
||||||
JoinNearbySquads(1024.0f);
|
JoinNearbySquads(1024.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Added in 2.0
|
||||||
|
// Tell clients about sentient team
|
||||||
|
edict->s.eFlags &= ~EF_ALLIES;
|
||||||
|
edict->s.eFlags |= EF_AXIS;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Sentient::EventAmerican(Event *ev)
|
void Sentient::EventAmerican(Event *ev)
|
||||||
|
@ -2546,6 +2551,11 @@ void Sentient::EventAmerican(Event *ev)
|
||||||
pActor->m_csMood = STRING_NERVOUS;
|
pActor->m_csMood = STRING_NERVOUS;
|
||||||
pActor->m_csIdleMood = STRING_NERVOUS;
|
pActor->m_csIdleMood = STRING_NERVOUS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Added in 2.0
|
||||||
|
// Tell clients about sentient team
|
||||||
|
edict->s.eFlags &= ~EF_AXIS;
|
||||||
|
edict->s.eFlags |= EF_ALLIES;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Sentient::EventGetTeam(Event *ev)
|
void Sentient::EventGetTeam(Event *ev)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue