mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 13:01:56 +00:00
Memset bot controller when loading sectors
Just in case
This commit is contained in:
parent
896829c904
commit
7735e23170
1 changed files with 2 additions and 0 deletions
|
|
@ -947,6 +947,8 @@ static void P_InitializeSector(sector_t *ss)
|
||||||
ss->spawn_lightlevel = ss->lightlevel;
|
ss->spawn_lightlevel = ss->lightlevel;
|
||||||
|
|
||||||
ss->spawn_extra_colormap = NULL;
|
ss->spawn_extra_colormap = NULL;
|
||||||
|
|
||||||
|
memset(&ss->botController, 0, sizeof(ss->botController));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void P_LoadSectors(UINT8 *data)
|
static void P_LoadSectors(UINT8 *data)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue