aboutsummaryrefslogtreecommitdiffstats
path: root/src/entities.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities.cpp')
-rw-r--r--src/entities.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/entities.cpp b/src/entities.cpp
index 24c0d01..3b8b52b 100644
--- a/src/entities.cpp
+++ b/src/entities.cpp
@@ -155,8 +155,8 @@ Mob::Mob(int sub){
height = 2000;
tex = new Texturec(0);
case MS_DOOR:
- width = HLINE * 10;
- height = HLINE * 16;
+ width = HLINE * 12;
+ height = HLINE * 20;
tex = new Texturec(1,"assets/door.png");
break;
}
@@ -416,7 +416,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);
+
}