diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2015-09-29 08:46:47 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2015-09-29 08:46:47 -0400 |
commit | 9137c25a3409a67ee04042e566f3c543d61d93d5 (patch) | |
tree | b60341552dec27b169a39040d88e01f8e22fe39f /src/entities.cpp | |
parent | 764e0983c21247e325807933227b077bdc1ef6be (diff) |
fixed entity lags
Diffstat (limited to 'src/entities.cpp')
-rw-r--r-- | src/entities.cpp | 1 |
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 |