Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/model/mapfile.cc4
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;