mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 16:22:41 +02:00
28 lines
452 B
C
28 lines
452 B
C
#include <ultra64.h>
|
|
#include "constants.h"
|
|
#include "game/prop.h"
|
|
#include "bss.h"
|
|
#include "lib/vi.h"
|
|
#include "data.h"
|
|
#include "types.h"
|
|
|
|
void explosionsStop(void)
|
|
{
|
|
s32 i;
|
|
|
|
var8007e4a0 = 0;
|
|
viShake(0);
|
|
|
|
if (g_Explosions) {
|
|
for (i = 0; i < 6; i++) {
|
|
if (g_Explosions[i].prop) {
|
|
propDelist(g_Explosions[i].prop);
|
|
propDisable(g_Explosions[i].prop);
|
|
propFree(g_Explosions[i].prop);
|
|
|
|
g_Explosions[i].prop = NULL;
|
|
}
|
|
}
|
|
}
|
|
}
|