aboutsummaryrefslogtreecommitdiffstats
path: root/src/entities.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities.cpp')
-rw-r--r--src/entities.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/entities.cpp b/src/entities.cpp
index 729bcdd..b1a0c09 100644
--- a/src/entities.cpp
+++ b/src/entities.cpp
@@ -169,8 +169,8 @@ Object::Object(ITEM_ID id, bool qo, const char *pd){
type = OBJECTT;
alive = true;
near = false;
- width = HLINE * 8;
- height = HLINE * 8;
+ width = getItemWidth(id);
+ height = getItemHeight(id);
maxHealth = health = 1;
tex = new Texturec(1,getItemTexturePath(id));