diff options
author | Stijn Buys <ingar@osirion.org> | 2009-08-15 14:05:38 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-08-15 14:05:38 +0000 |
commit | e2934d43ab090b1e559ffc4f866aa39028d8495d (patch) | |
tree | a81eeddbf42667d511d8442f8300ba874cdc91f6 /src | |
parent | a3cfb9c4634e3ce7e052e72ce564d25e5367a430 (diff) |
restored fx_flare light key
Diffstat (limited to 'src')
-rw-r--r-- | src/model/mapfile.cc | 4 |
1 files changed, 4 insertions, 0 deletions
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; |