From f27f16cebf41ad7df322d59b0626979a3946bfd5 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Thu, 25 Aug 2022 15:48:52 -0400 Subject: [PATCH] fix cherry pick error --- qbsp/map.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbsp/map.cc b/qbsp/map.cc index de5b9cf7..e17803d5 100644 --- a/qbsp/map.cc +++ b/qbsp/map.cc @@ -496,7 +496,7 @@ static surfflags_t SurfFlagsForEntity(const maptexinfo_t &texinfo, const mapenti } // handle "_maxlight" - const vec_t maxlight = entity->epairs.get_float("_maxlight"); + const vec_t maxlight = entity.epairs.get_float("_maxlight"); if (maxlight > 0) { // CHECK: allow > 510 now that we're float? or is it not worth it since it will // be beyond max?