Allow dis-arming of events. Red-alert soundnow stops once out in corridor.

This commit is contained in:
stevenhowes
2021-09-01 19:47:15 +01:00
parent f210658025
commit 3ff6a534a9
8 changed files with 38 additions and 8 deletions
+2
View File
@@ -676,6 +676,8 @@ void game2_triggerevent(int id)
}
else if(EventActions[i].Action == 5) // Change overlay tile sprite
fullmap[EventActions[i].ActionTarget + 10000] = EventActions[i].ActionValue;
else if(EventActions[i].Action == 6) // Dis-arm
Events[EventActions[i].ActionTarget].Triggered = 1;
}
}
}