summaryrefslogtreecommitdiff
path: root/src/entity.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/entity.h')
-rw-r--r--src/entity.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/entity.h b/src/entity.h
index bf246d0..263cd5f 100644
--- a/src/entity.h
+++ b/src/entity.h
@@ -20,11 +20,8 @@ struct Entity {
int width;
int height;
bool ignore_solids;
- union {
- struct {
- int life;
- } part;
- };
+ int life;
+ int id;
};
unsigned int entity_type(const char *typename);