mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'quake-crash' into 'master'
P_StartQuake: Use PushQuake (resolves #543) Closes #543 See merge request KartKrew/Kart!1223
This commit is contained in:
commit
348549a1cb
1 changed files with 1 additions and 5 deletions
|
|
@ -9409,11 +9409,7 @@ void P_StartQuake(tic_t time, fixed_t intensity, fixed_t radius, mappoint_t *epi
|
|||
return;
|
||||
}
|
||||
|
||||
quake = Z_Calloc(sizeof(quake_t), PU_LEVEL, NULL);
|
||||
|
||||
quake->next = g_quakes;
|
||||
g_quakes->prev = quake;
|
||||
g_quakes = quake;
|
||||
quake = PushQuake();
|
||||
|
||||
quake->time = quake->startTime = time;
|
||||
quake->intensity = intensity;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue