diff options
Diffstat (limited to 'src/entities.cpp')
-rw-r--r-- | src/entities.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities.cpp b/src/entities.cpp index 1058b1b..3560a2d 100644 --- a/src/entities.cpp +++ b/src/entities.cpp @@ -91,7 +91,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(); + entity.pop_back(); return entity.size(); } } |