summaryrefslogtreecommitdiff
path: root/include/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/utils.h')
-rw-r--r--include/utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/utils.h b/include/utils.h
index 3381828..5a4a4ac 100644
--- a/include/utils.h
+++ b/include/utils.h
@@ -4,6 +4,8 @@
#include <stdbool.h>
#include "game.h"
+#define UNUSED(x) (void)x
+
static inline bool EntityAllocated(const Entity* e) {
return (e->flags & ENTITY_ALLOCATED);
}