From e9076f22fe2a49d1cd8933e54b7b00c5dd943269 Mon Sep 17 00:00:00 2001 From: untodesu Date: Fri, 12 Sep 2025 13:33:52 +0500 Subject: It compiles --- game/shared/entity/grounded.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'game/shared/entity/grounded.hh') diff --git a/game/shared/entity/grounded.hh b/game/shared/entity/grounded.hh index e86e3a8..940cebe 100644 --- a/game/shared/entity/grounded.hh +++ b/game/shared/entity/grounded.hh @@ -9,7 +9,7 @@ namespace entity // Assigned to entities which are grounded // according to the collision and gravity system struct Grounded final { - world::voxel_surface surface; + world::VoxelMaterial surface; }; } // namespace entity -- cgit From f210a86c1406ccc6dfd6f14181dd7a1274ee0de4 Mon Sep 17 00:00:00 2001 From: untodesu Date: Fri, 12 Sep 2025 15:09:01 +0500 Subject: Random ticking? In my game?! Hell yeah! --- game/shared/entity/grounded.hh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'game/shared/entity/grounded.hh') diff --git a/game/shared/entity/grounded.hh b/game/shared/entity/grounded.hh index 940cebe..34a0f9e 100644 --- a/game/shared/entity/grounded.hh +++ b/game/shared/entity/grounded.hh @@ -1,8 +1,6 @@ -#ifndef SHARED_ENTITY_GROUNDED -#define SHARED_ENTITY_GROUNDED 1 #pragma once -#include "shared/world/voxel_registry.hh" +#include "shared/world/voxel.hh" namespace entity { @@ -12,5 +10,3 @@ struct Grounded final { world::VoxelMaterial surface; }; } // namespace entity - -#endif // SHARED_ENTITY_GROUNDED -- cgit