aboutsummaryrefslogtreecommitdiffstats
path: root/src/entities.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2015-10-01 08:53:49 -0400
committerClyne Sullivan <tullivan99@gmail.com>2015-10-01 08:53:49 -0400
commit68ec0bf510fd16cf4e6d7aabd7998fe656c25444 (patch)
treefc269ebdb6f7c9c76037058e8b1b95caefc6ee59 /src/entities.cpp
parent9757c1c7e8704080c4e20cde442baf06960e98e7 (diff)
quest completion
Diffstat (limited to 'src/entities.cpp')
-rw-r--r--src/entities.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities.cpp b/src/entities.cpp
index 9f5d776..e7ba599 100644
--- a/src/entities.cpp
+++ b/src/entities.cpp
@@ -128,7 +128,7 @@ unsigned int Structures::spawn(_TYPE t, float x, float y){ //spawns a structure
width = 20 * HLINE;
height = 16 * HLINE;
- int tempN = (getRand() % 5 + 1); //amount of villagers that will spawn
+ int tempN = (getRand() % 5 + 2); //amount of villagers that will spawn
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