Backport of r6248:

allow lua to track if ship is 'dying' during the frame (bugfix for flashy deaths script)
This commit is contained in:
chief1983 committed 2010-06-22 03:46:21 +00:00
1 parent 4963b751b0
commit 54f37f82ae
1 file changed
+1
+1
View File
@@ -6255,6 +6255,7 @@ ADE_FUNC(hasShipExploded, l_Ship, NULL, "Checks if the ship explosion event has
if (shipp->pre_death_explosion_happened == 1) {
return ade_set_args(L, "i", 1);
}
return ade_set_args(L, "i", 3);
}
return ade_set_args(L, "i", 0);