summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common.hpp b/src/common.hpp
index b0d1674..4ce22bb 100644
--- a/src/common.hpp
+++ b/src/common.hpp
@@ -161,8 +161,8 @@ namespace world {
v2f_t end;
float frac;
- entity_t *ent;
- tile_t *tile;
+ entity_t *ent = nullptr;
+ tile_t *tile = nullptr;
} trace_t;
// for testing