CAP_HELPLESS -> CAP_DISABLED

This commit is contained in:
Steve 2016-05-07 10:40:30 +01:00
parent 9063ec84a7
commit ce3eeadeee
2 changed files with 3 additions and 3 deletions

View File

@ -220,7 +220,7 @@
]
},
{
"function" : "CAP_HELPLESS HMS 121-008",
"function" : "CAP_DISABLED HMS 121-008",
"lines" : [
"WAIT 1",
"MSG_BOX Dodds;Brings back memories, doesn't it?",

View File

@ -97,7 +97,7 @@ void doCapitalShip(void)
battle.missionTarget = NULL;
}
if (self->side == SIDE_ALLIES)
if (self->side != player->side)
{
battle.stats[STAT_CAPITAL_SHIPS_LOST]++;
@ -381,7 +381,7 @@ static void disable(void)
{
Entity *e;
runScriptFunction("CAP_HELPLESS %s", self->owner->name);
runScriptFunction("CAP_DISABLED %s", self->owner->name);
for (e = battle.entityHead.next ; e != NULL ; e = e->next)
{