summaryrefslogtreecommitdiff
path: root/src/entity.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/entity.h')
-rw-r--r--src/entity.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/entity.h b/src/entity.h
index 464b81f..0051639 100644
--- a/src/entity.h
+++ b/src/entity.h
@@ -11,8 +11,8 @@ enum { ET_NONE = 0 };
typedef struct Entity Entity;
struct Entity {
unsigned long uuid;
- Entity *(*update)(Entity *this, struct Game *g);
- Entity *(*draw)(Entity *this, struct Game *g);
+ void (*update)(Entity *this, struct Game *g);
+ void (*draw)(Entity *this, struct Game *g);
unsigned int type;
int id;
int pos[2];