diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2016-02-22 08:47:51 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2016-02-22 08:47:51 -0500 |
commit | 28539cb9804a2bda8a7d94ec078b1b60ac3ded06 (patch) | |
tree | 4b6ba970ed0e870462d2b2736211a73db385ed77 /src/entities.cpp | |
parent | 0d77d11b708e57546d8267e957230c30bc5d048c (diff) |
bug fixes
Diffstat (limited to 'src/entities.cpp')
-rw-r--r-- | src/entities.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/entities.cpp b/src/entities.cpp index 71a0890..8c19bb0 100644 --- a/src/entities.cpp +++ b/src/entities.cpp @@ -133,7 +133,7 @@ NPC::~NPC(){ } Structures::Structures(){ //sets the structure type - health = maxHealth = 25; + health = maxHealth = 1; alive = false; near = false; @@ -450,6 +450,7 @@ unsigned int Structures::spawn(BUILD_SUB sub, float x, float y){ type = STRUCTURET; alive = true; + canMove = false; bsubtype = sub; dim2 dim; |