summaryrefslogtreecommitdiffstats
path: root/src/Entity.hpp
diff options
context:
space:
mode:
authorLaG1924 <lag1924@gmail.com>2023-07-08 20:30:25 +0200
committerLaG1924 <lag1924@gmail.com>2023-07-08 21:24:04 +0200
commitc984afdf47ef31511024c6b70bd4b4c4e64f56a6 (patch)
tree3c539c9e7de841c6616f532dadb7c8c1ef552d95 /src/Entity.hpp
parentMerge pull request #80 from LaG1924/ftr/better-water (diff)
downloadAltCraft-c984afdf47ef31511024c6b70bd4b4c4e64f56a6.tar
AltCraft-c984afdf47ef31511024c6b70bd4b4c4e64f56a6.tar.gz
AltCraft-c984afdf47ef31511024c6b70bd4b4c4e64f56a6.tar.bz2
AltCraft-c984afdf47ef31511024c6b70bd4b4c4e64f56a6.tar.lz
AltCraft-c984afdf47ef31511024c6b70bd4b4c4e64f56a6.tar.xz
AltCraft-c984afdf47ef31511024c6b70bd4b4c4e64f56a6.tar.zst
AltCraft-c984afdf47ef31511024c6b70bd4b4c4e64f56a6.zip
Diffstat (limited to 'src/Entity.hpp')
-rw-r--r--src/Entity.hpp2
1 files changed, 1 insertions, 1 deletions
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;