aboutsummaryrefslogtreecommitdiffstats
path: root/src/entities.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities.cpp')
-rw-r--r--src/entities.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/entities.cpp b/src/entities.cpp
index f9723cf..0764284 100644
--- a/src/entities.cpp
+++ b/src/entities.cpp
@@ -140,6 +140,7 @@ Object::Object(ITEM_ID id, bool qo, const char *pd){
pickupDialog = new char[strlen(pd)+1];
strcpy(pickupDialog,pd);
+
type = OBJECTT;
alive = true;
near = false;
@@ -148,6 +149,7 @@ Object::Object(ITEM_ID id, bool qo, const char *pd){
maxHealth = health = 1;
tex = new Texturec(1,getItemTexturePath(id));
+
}