Don't display messages if you're a Pandoran ship.
This commit is contained in:
parent
e972bc0224
commit
e45485cee8
|
@ -258,7 +258,7 @@ static void componentDie(void)
|
|||
{
|
||||
runScriptFunction("CAP_HEALTH %s %d", self->owner->name, self->owner->health);
|
||||
|
||||
if (self->side == player->side)
|
||||
if (self->side != SIDE_PANDORAN && self->side == player->side)
|
||||
{
|
||||
issueDamageMessage(self->owner);
|
||||
}
|
||||
|
@ -284,7 +284,7 @@ static void gunDie(void)
|
|||
|
||||
runScriptFunction("CAP_GUNS_DESTROYED %s", self->owner->name);
|
||||
|
||||
if (self->side == player->side)
|
||||
if (self->side != SIDE_PANDORAN && self->side == player->side)
|
||||
{
|
||||
issueGunsDestroyedMessage(self->owner);
|
||||
}
|
||||
|
@ -328,7 +328,7 @@ static void engineDie(void)
|
|||
|
||||
runScriptFunction("CAP_ENGINES_DESTROYED %s", self->owner->name);
|
||||
|
||||
if (self->side == player->side)
|
||||
if (self->side != SIDE_PANDORAN && self->side == player->side)
|
||||
{
|
||||
issueEnginesDestroyedMessage(self->owner);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue