From cb6c37a26d415a32534f4332467396b454a02906 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Sun, 22 Jul 2018 14:20:20 +0300 Subject: [PATCH] [General] Replace doubles with floats in BaseStructs and BaseWorldstate --- components/openmw-mp/Base/BaseStructs.hpp | 2 +- components/openmw-mp/Base/BaseWorldstate.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/openmw-mp/Base/BaseStructs.hpp b/components/openmw-mp/Base/BaseStructs.hpp index 8672fee9f..89c78c955 100644 --- a/components/openmw-mp/Base/BaseStructs.hpp +++ b/components/openmw-mp/Base/BaseStructs.hpp @@ -14,7 +14,7 @@ namespace mwmp std::string refId; int count; int charge; - double enchantmentCharge; + float enchantmentCharge; inline bool operator==(const Item& rhs) { diff --git a/components/openmw-mp/Base/BaseWorldstate.hpp b/components/openmw-mp/Base/BaseWorldstate.hpp index 5bdf170c9..53cd16c53 100644 --- a/components/openmw-mp/Base/BaseWorldstate.hpp +++ b/components/openmw-mp/Base/BaseWorldstate.hpp @@ -43,7 +43,7 @@ namespace mwmp RakNet::RakNetGUID guid; - double hour; + float hour; int day; int month; int year;