diff options
-rw-r--r-- | kurator/src/PopupEmitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kurator/src/PopupEmitter.cpp b/kurator/src/PopupEmitter.cpp index 9d7690f..886bbfd 100644 --- a/kurator/src/PopupEmitter.cpp +++ b/kurator/src/PopupEmitter.cpp @@ -25,8 +25,8 @@ PopupEmitter::emit(entt::registry& registry, const sim::Transform& transform, co registry.emplace<Timed>(popup, 1.2); registry.emplace<sim::Transform>(popup, transform.position, 0.0); registry.emplace<CenteredText>(popup, std::string{}, 0, size, RED); - registry.emplace<UIOffset>(popup, 0, 0); - registry.emplace<PopMove>(popup, engine::Point{0, -20}, 0.9998); + registry.emplace<UIOffset>(popup, 0.0, 0.0); + registry.emplace<PopMove>(popup, engine::Point{0.0, -20.0}, 0.9998); } total += damage; auto& text = registry.get<CenteredText>(popup); |