From d29a32d30dc4f8fdcbd618365c0814d02a835d84 Mon Sep 17 00:00:00 2001 From: Thomas Christlieb Date: Thu, 14 Oct 2021 12:06:01 +0200 Subject: [PATCH] allow for more light sources I'm capping this to 255 for the moment because we're using it with an uint_8. Can be further increased if we change the uint_8 in lighting.h and lighting.cpp --- Source/lighting.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/lighting.h b/Source/lighting.h index 827987eabae1..612676bc32a8 100644 --- a/Source/lighting.h +++ b/Source/lighting.h @@ -13,7 +13,7 @@ namespace devilution { -#define MAXLIGHTS 32 +#define MAXLIGHTS 255 #define MAXVISION 32 #define LIGHTSIZE (27 * 256) #define NO_LIGHT -1