fix cherry pick error

This commit is contained in:
Jonathan 2022-08-25 15:48:52 -04:00
parent 5fb0d56da7
commit f27f16cebf
1 changed files with 1 additions and 1 deletions

View File

@ -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?