aboutsummaryrefslogtreecommitdiffstats
path: root/src/entities.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2015-09-29 08:46:47 -0400
committerClyne Sullivan <tullivan99@gmail.com>2015-09-29 08:46:47 -0400
commit9137c25a3409a67ee04042e566f3c543d61d93d5 (patch)
treeb60341552dec27b169a39040d88e01f8e22fe39f /src/entities.cpp
parent764e0983c21247e325807933227b077bdc1ef6be (diff)
fixed entity lags
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 3560a2d..b33f226 100644
--- a/src/entities.cpp
+++ b/src/entities.cpp
@@ -84,7 +84,6 @@ unsigned int Structures::spawn(_TYPE t, float x, float y){ //spawns a structure
height = 16 * HLINE;
int tempN = (getRand() % 5 + 1); //amount of villagers that will spawn
- //int tempN=200;
for(int i=0;i<tempN;i++){
entity.push_back(new NPC()); //create a new entity of NPC type
npc.push_back(NPC()); //create new NPC