aboutsummaryrefslogtreecommitdiffstats
path: root/src/entities.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities.cpp')
-rw-r--r--src/entities.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/entities.cpp b/src/entities.cpp
index 922a07c..6c2da81 100644
--- a/src/entities.cpp
+++ b/src/entities.cpp
@@ -136,7 +136,7 @@ NPC::~NPC(){
}
Structures::Structures(){ //sets the structure type
- health = maxHealth = 25;
+ health = maxHealth = 1;
alive = false;
near = false;
@@ -456,6 +456,7 @@ unsigned int Structures::spawn(BUILD_SUB sub, float x, float y){
type = STRUCTURET;
alive = true;
+ canMove = false;
bsubtype = sub;
dim2 dim;