From fc6caf6f2567a7a1e97874b0106d0987763f3058 Mon Sep 17 00:00:00 2001 From: Aki Date: Fri, 17 Mar 2023 12:00:06 +0100 Subject: Ensured literal types to be equivalent or lower than target types --- kurator/src/PopupEmitter.cpp | 4 ++-- 1 file 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(popup, 1.2); registry.emplace(popup, transform.position, 0.0); registry.emplace(popup, std::string{}, 0, size, RED); - registry.emplace(popup, 0, 0); - registry.emplace(popup, engine::Point{0, -20}, 0.9998); + registry.emplace(popup, 0.0, 0.0); + registry.emplace(popup, engine::Point{0.0, -20.0}, 0.9998); } total += damage; auto& text = registry.get(popup); -- cgit v1.1