From 98bc1fac825ed77d3337fd4b1ad6a1069c7f6a44 Mon Sep 17 00:00:00 2001 From: Fazana <52551480+FazanaJ@users.noreply.github.com> Date: Tue, 7 Sep 2021 15:55:34 +0100 Subject: [PATCH] Update puppylights.c --- src/game/puppylights.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/game/puppylights.c b/src/game/puppylights.c index 0263729a..c5620e02 100644 --- a/src/game/puppylights.c +++ b/src/game/puppylights.c @@ -9,6 +9,8 @@ but it will not be affected by environmental tinting. If you wish for an object simply set the object flag OBJ_FLAG_EMIT_LIGHT and set some values to o->puppylight. **/ +#ifdef PUPPYLIGHTS + #include #include "types.h" #include "puppylights.h" @@ -309,3 +311,5 @@ void obj_disable_light(struct Object *obj) { obj->oFlags &= ~OBJ_FLAG_EMIT_LIGHT; } + +#endif