aboutsummaryrefslogtreecommitdiffstats
path: root/src/entities.cpp
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2016-01-13 08:31:26 -0500
committerdrumsetmonkey <abelleisle@roadrunner.com>2016-01-13 08:31:26 -0500
commit01c0446eaaf8f84a35ce5d5d82c55b7e155f7e43 (patch)
tree7c635297c09d6758ac17aa1f353190d1d9778c03 /src/entities.cpp
parent5ec498c3e583a8fe18fdc9fec683df8c2541b28c (diff)
parentbf7d1d29029ca0afa4369bf95b8bd67c73fd5c45 (diff)
Added fire
Diffstat (limited to 'src/entities.cpp')
-rw-r--r--src/entities.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entities.cpp b/src/entities.cpp
index 817a1b0..01b379b 100644
--- a/src/entities.cpp
+++ b/src/entities.cpp
@@ -505,6 +505,7 @@ unsigned int Structures::spawn(BUILD_SUB sub, float x, float y, World *oi){
tex = new Texturec(1, sTexLoc[sub].c_str());
width = 12 * HLINE;
height = 12 * HLINE;
+ oi->addLight({x+SCREEN_WIDTH/2,y},{1.0f,1.0f,1.0f});
break;
default:
break;