aboutsummaryrefslogtreecommitdiffstats
path: root/include/entities.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/entities.h')
-rw-r--r--include/entities.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/entities.h b/include/entities.h
index dbaf9f5..141d29a 100644
--- a/include/entities.h
+++ b/include/entities.h
@@ -16,7 +16,7 @@
enum _TYPE { //these are the main types of entities
OBJECTT = -2,
- STRUCTURET = -1,
+ STRUCTURET,
PLAYERT,
NPCT,
MOBT
@@ -72,9 +72,8 @@ public:
}
bool kill(float delta){
duration -= delta;
- if(duration <= 0){
+ if(duration <= 0)
return true;
- }
else return false;
}
};