diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2015-09-29 08:09:06 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2015-09-29 08:09:06 -0400 |
commit | 33ad7fe2203d93f3721b1e22faf94527b78f0f71 (patch) | |
tree | 063b5b02ca8e9141fb383e7375592e24aff1ba01 /src/entities.cpp | |
parent | 34e2794d647447f6ddb29419abbe2f44593ba1fa (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 a7737b3..b33f226 100644 --- a/src/entities.cpp +++ b/src/entities.cpp @@ -90,6 +90,7 @@ unsigned int Structures::spawn(_TYPE t, float x, float y){ //spawns a structure entity[entity.size()] = &npc[npc.size()-1]; //set the new entity to have the same traits as an NPC entity[entity.size()-1]->spawn(loc.x + (float)(i - 5),100); //sets the position of the villager around the village } + entity.pop_back(); return entity.size(); } } |