From c984afdf47ef31511024c6b70bd4b4c4e64f56a6 Mon Sep 17 00:00:00 2001 From: LaG1924 Date: Sat, 8 Jul 2023 23:30:25 +0500 Subject: Fixed some errors detected by static analysis --- src/Entity.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Entity.hpp') diff --git a/src/Entity.hpp b/src/Entity.hpp index 2b1a041..bbcb5c7 100644 --- a/src/Entity.hpp +++ b/src/Entity.hpp @@ -135,7 +135,7 @@ struct Entity { double height = 1.0; glm::vec3 renderColor; int entityType=0; - EntityType type; + EntityType type = EntityType::Object; bool isSolid = true; double gravity = 32.0; // in m/s^2 double drag = 0.4; -- cgit v1.2.3