aboutsummaryrefslogtreecommitdiffstats
path: root/src/entities.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities.cpp')
-rw-r--r--src/entities.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/entities.cpp b/src/entities.cpp
index ba0f8ef..6a2f4db 100644
--- a/src/entities.cpp
+++ b/src/entities.cpp
@@ -157,7 +157,7 @@ Mob::Mob(int sub){
tex = new Texturec(0);
case MS_DOOR:
width = HLINE * 12;
- height = HLINE * 19;
+ height = HLINE * 20;
tex = new Texturec(1,"assets/door.png");
break;
}
@@ -418,7 +418,10 @@ unsigned int Structures::spawn(_TYPE t, BUILD_SUB sub, float x, float y){
* with type NPC.
*/
+ //((World*)(inWorld))->addNPC(loc.x + i * HLINE ,100);
+ //inWorld->addNPC(loc.x + i * HLINE, 100);
currentWorld->addNPC(loc.x + i * HLINE ,100);
+
}