Dynamic lights? Did anyone say DYNAMIC LIGHTS?

This commit is contained in:
Magnus Norddahl 2016-12-20 23:21:34 +01:00
commit 8a3db6c003
10 changed files with 133 additions and 9 deletions

View file

@ -79,7 +79,6 @@
#include "gl/utility/gl_convert.h"
#include "gl/utility/gl_templates.h"
EXTERN_CVAR(Int, vid_renderer)
//==========================================================================
@ -260,10 +259,6 @@ void ADynamicLight::Deactivate(AActor *activator)
//==========================================================================
void ADynamicLight::Tick()
{
if (vid_renderer == 0)
{
return;
}
if (IsOwned())
{
if (!target || !target->state)