From e2934d43ab090b1e559ffc4f866aa39028d8495d Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 15 Aug 2009 14:05:38 +0000 Subject: restored fx_flare light key --- src/model/mapfile.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/model/mapfile.cc b/src/model/mapfile.cc index 9c9048b..c4f0b7b 100644 --- a/src/model/mapfile.cc +++ b/src/model/mapfile.cc @@ -1089,6 +1089,10 @@ Model * MapFile::load(std::string const &name) flare->set_entity(spawnflag_isset(u, 2)); flare->set_engine(spawnflag_isset(u, 4)); + } else if (mapfile.got_key_float("light", r)) { + flare->set_radius( r * LIGHTSCALE); + continue; + } else if (mapfile.got_key_float("radius", r)) { flare->set_radius( r * LIGHTSCALE); continue; -- cgit v1.2.3