mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-19 20:12:01 +00:00
Attach fade_t thinker to proper control sector upon savegame load
This commit is contained in:
parent
b658598a96
commit
4f5ca26ce5
1 changed files with 3 additions and 3 deletions
|
|
@ -2577,9 +2577,9 @@ static inline void LoadFadeThinker(actionf_p1 thinker)
|
|||
ht->dospawnflags = READUINT8(save_p);
|
||||
ht->dofadeinonly = READUINT8(save_p);
|
||||
|
||||
sector_t *ffloorsector = LoadSector(ht->affectee);
|
||||
if (ffloorsector)
|
||||
ffloorsector->fadingdata = ht;
|
||||
line_t *ffloorline = LoadLine(ht->affectee);
|
||||
if (ffloorline && ffloorline->frontsector)
|
||||
ffloorline->frontsector->fadingdata = ht;
|
||||
|
||||
P_AddThinker(&ht->thinker);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue