From 3358bf7378e783f61bb99e7d4a8dffe25498dec8 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Wed, 10 Jun 2020 14:46:45 +0200 Subject: [PATCH] Fixed comparing int32_t with uint32_t. --- src/Battling/Models/Creature.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Battling/Models/Creature.cpp b/src/Battling/Models/Creature.cpp index 9764d3e..a48c0ff 100644 --- a/src/Battling/Models/Creature.cpp +++ b/src/Battling/Models/Creature.cpp @@ -48,7 +48,7 @@ void Battling::Creature::ChangeVariant(ArbUt::BorrowedPtr(INT32_MAX) && static_cast(_currentHealth) < -diffHealth) { _currentHealth = 0; } else { _currentHealth += diffHealth;