- added EDF sector handling.
This commit is contained in:
parent
4fd0a726b1
commit
d0978d0760
3 changed files with 120 additions and 15 deletions
|
|
@ -62,6 +62,9 @@
|
|||
#include "farchive.h"
|
||||
#include "a_keys.h"
|
||||
#include "c_dispatch.h"
|
||||
#ifndef NO_EDF
|
||||
#include "edf.h"
|
||||
#endif
|
||||
|
||||
// State.
|
||||
#include "r_state.h"
|
||||
|
|
@ -1313,6 +1316,7 @@ void P_SpawnSpecials (void)
|
|||
|
||||
// Init special SECTORs.
|
||||
sector = sectors;
|
||||
|
||||
for (i = 0; i < numsectors; i++, sector++)
|
||||
{
|
||||
if (sector->special == 0)
|
||||
|
|
@ -1321,7 +1325,10 @@ void P_SpawnSpecials (void)
|
|||
P_InitSectorSpecial(sector, sector->special, false);
|
||||
}
|
||||
|
||||
// Here is the place to handle EDF for sectors.
|
||||
#ifndef NO_EDF
|
||||
ProcessEDFSectors();
|
||||
#endif
|
||||
|
||||
|
||||
// Init other misc stuff
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue