From c84b88920375ceebc3b205f69b057ef4a641c901 Mon Sep 17 00:00:00 2001 From: "Joe \"Flame\" Sullivan" Date: Sat, 21 May 2022 18:51:15 +0200 Subject: [PATCH] Update e3d.c (#192) Enable self-lit items to actually self-light in the map editor under correct circumstances (dungeon/internal maps). See https://github.com/raduprv/Eternal-Lands/issues/188 --- map_editor/e3d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/map_editor/e3d.c b/map_editor/e3d.c index acd6093b0..a2082c12a 100644 --- a/map_editor/e3d.c +++ b/map_editor/e3d.c @@ -91,7 +91,7 @@ void set_emission(object3d * object_id) { if(object_id->self_lit && (night_shadows_on || dungeon)) { - glDisable(GL_LIGHTING); + glEnable(GL_LIGHTING); glMaterialfv(GL_FRONT, GL_EMISSION, object_id->color); } else