diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2015-09-29 08:09:46 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2015-09-29 08:09:46 -0400 |
commit | 764e0983c21247e325807933227b077bdc1ef6be (patch) | |
tree | 0f71fd87255f66cfd2d4263efcb3741518f09a68 /src/entities.cpp | |
parent | 33ad7fe2203d93f3721b1e22faf94527b78f0f71 (diff) | |
parent | b195f57a6ad36f795c9a03e525357e5df246f26f (diff) |
readded readme, fixed world handling w/ interpolation
Diffstat (limited to 'src/entities.cpp')
-rw-r--r-- | src/entities.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entities.cpp b/src/entities.cpp index b33f226..3560a2d 100644 --- a/src/entities.cpp +++ b/src/entities.cpp @@ -84,6 +84,7 @@ 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 |