Made the EventHandler class tree a bit more branchy. Now disallowing creation of Static* via EventHandler.Create.
This commit is contained in:
parent
a226337185
commit
35ec14f465
7 changed files with 127 additions and 69 deletions
|
|
@ -1245,7 +1245,7 @@ void R_AddSprites (sector_t *sec, int lightlevel, int fakeside)
|
|||
if (thing->validcount == validcount) continue;
|
||||
thing->validcount = validcount;
|
||||
|
||||
DRenderEventHandler::AutoThing autoRenderThingEvent(thing);
|
||||
DStaticRenderEventHandler::AutoThing autoRenderThingEvent(thing);
|
||||
|
||||
FIntCVar *cvar = thing->GetClass()->distancecheck;
|
||||
if (cvar != NULL && *cvar >= 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue