Initialize Battle pointers with nullptr in Create class.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
fc5826edb1
commit
c3b573c7da
|
@ -34,8 +34,8 @@ namespace CreatureLib::Battling {
|
|||
Core::StatisticSet<uint32_t> _flatStats;
|
||||
Core::StatisticSet<uint32_t> _boostedStats;
|
||||
|
||||
Battle* _battle;
|
||||
BattleSide* _side;
|
||||
Battle* _battle = nullptr;
|
||||
BattleSide* _side = nullptr;
|
||||
bool _onBattleField = false;
|
||||
|
||||
std::string _nickname = "";
|
||||
|
|
Loading…
Reference in New Issue