From 2ee181bca745ac6ae2e8b6e81a1b778a993720cb Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Thu, 12 Dec 2019 11:14:50 +0100 Subject: [PATCH] Fixed _onBattleField field of Creature leading to cascading errors on release configuration. --- src/Battling/Models/Creature.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Battling/Models/Creature.hpp b/src/Battling/Models/Creature.hpp index 4631cb9..388b9c0 100644 --- a/src/Battling/Models/Creature.hpp +++ b/src/Battling/Models/Creature.hpp @@ -39,7 +39,7 @@ namespace CreatureLib::Battling { Battle* _battle; BattleSide* _side; - bool _onBattleField; + bool _onBattleField = false; std::string _nickname = ""; int8_t _talentIndex;