diff options
| author | untodesu <kirill@untode.su> | 2025-12-26 14:50:33 +0500 |
|---|---|---|
| committer | untodesu <kirill@untode.su> | 2025-12-26 14:50:33 +0500 |
| commit | 6c2abde5c99a236453b795abaa6d7d70105e31f7 (patch) | |
| tree | f085049b9615a7d03cca5de40adb6529d6c13e11 /src/game/shared/entity/velocity.cc | |
| parent | f40d09cb8f712e87691af4912f3630d92d692779 (diff) | |
| download | voxelius-6c2abde5c99a236453b795abaa6d7d70105e31f7.tar.bz2 voxelius-6c2abde5c99a236453b795abaa6d7d70105e31f7.zip | |
Just a big Ctrl+H refactoring
Diffstat (limited to 'src/game/shared/entity/velocity.cc')
| -rw-r--r-- | src/game/shared/entity/velocity.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/shared/entity/velocity.cc b/src/game/shared/entity/velocity.cc index 86df445..6fb8c80 100644 --- a/src/game/shared/entity/velocity.cc +++ b/src/game/shared/entity/velocity.cc @@ -9,9 +9,9 @@ #include "shared/globals.hh" -void entity::Velocity::fixed_update(world::Dimension* dimension) +void Velocity::fixed_update(Dimension* dimension) { - auto group = dimension->entities.group<entity::Velocity>(entt::get<entity::Transform>, entt::exclude<entity::Stasis>); + auto group = dimension->entities.group<Velocity>(entt::get<Transform>, entt::exclude<Stasis>); for(auto [entity, velocity, transform] : group.each()) { transform.local += velocity.value * globals::fixed_frametime; |
