mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-26 00:16:23 +00:00
Add spawn_lightlevel to sector_t
This commit is contained in:
parent
baeb1f2aa5
commit
888ea233dc
2 changed files with 4 additions and 0 deletions
|
|
@ -678,6 +678,7 @@ static void P_LoadRawSectors(UINT8 *data, size_t i)
|
|||
ss->ceilingpic = P_AddLevelFlat(ms->ceilingpic, foundflats);
|
||||
|
||||
ss->lightlevel = SHORT(ms->lightlevel);
|
||||
ss->spawn_lightlevel = SHORT(ms->lightlevel);
|
||||
ss->special = SHORT(ms->special);
|
||||
ss->tag = SHORT(ms->tag);
|
||||
ss->nexttag = ss->firsttag = -1;
|
||||
|
|
|
|||
|
|
@ -385,6 +385,9 @@ typedef struct sector_s
|
|||
boolean hasslope; // The sector, or one of its visible FOFs, contains a slope
|
||||
#endif
|
||||
|
||||
// for fade thinker
|
||||
INT16 spawn_lightlevel;
|
||||
|
||||
// these are saved for netgames, so do not let Lua touch these!
|
||||
INT32 spawn_nexttag, spawn_firsttag; // the actual nexttag/firsttag values may differ if the sector's tag was changed
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue