aboutsummaryrefslogtreecommitdiff
path: root/src/entity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/entity.cpp b/src/entity.cpp
index f4888d072..fdd277331 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -114,6 +114,8 @@ struct Entity {
isize order_in_src;
String deprecated_message;
+ // IMPORTANT NOTE(bill): This must be a discriminated union because of patching
+ // later entity kinds
union {
struct {
ExactValue value;