aboutsummaryrefslogtreecommitdiffstats
path: root/src/entities.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2015-09-28 08:15:39 -0400
committerClyne Sullivan <tullivan99@gmail.com>2015-09-28 08:15:39 -0400
commit9630c8a49cbad7b1b71b9401ff24881ebf4c7c25 (patch)
tree35bd7bff8711b4a914b43c987ab5113932c1da31 /src/entities.cpp
parent2061c398aa801aa79eaa702b032daf1399483e9e (diff)
oh
Diffstat (limited to 'src/entities.cpp')
-rw-r--r--src/entities.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/entities.cpp b/src/entities.cpp
index ab19c6f..e93f23a 100644
--- a/src/entities.cpp
+++ b/src/entities.cpp
@@ -83,7 +83,6 @@ unsigned int Structures::spawn(int t, float x, float y){
std::cout<<"NPC:"<<npc.size()<<std::endl;
std::cout<<"Entity:"<<entity.size()<<std::endl;
entity[entity.size()] = &npc[npc.size()-1];
- entity[entity.size()]->spawn(loc.x + (float)(i - 5) / 8,100);
entity[entity.size()-1]->spawn(loc.x + (float)(i - 5) / 8,100);
std::cout<<"Entity Type["<<entity.size()<<"]: "<<entity[entity.size()]->type<<std::endl;
std::cout<<"Entity Life["<<entity.size()<<"]: "<<entity[entity.size()]->alive<<std::endl;