From 0c80a8ea16f6a1a993bad4d674c06403029787dc Mon Sep 17 00:00:00 2001 From: MaxFleur Date: Tue, 16 Nov 2021 21:48:24 +0100 Subject: [PATCH] Change default additional info def value handling in CharHandler --- src/handler/CharacterHandler.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/handler/CharacterHandler.hpp b/src/handler/CharacterHandler.hpp index e877427b..2bd7e8cc 100644 --- a/src/handler/CharacterHandler.hpp +++ b/src/handler/CharacterHandler.hpp @@ -22,7 +22,7 @@ class CharacterHandler { // Is the character an NPC or not bool isNPC = false; // Additional information (e.g. status effects). Optional. - QString additionalInf = ""; + QString additionalInf = QString(); }; // Vector storing all created characters @@ -38,7 +38,7 @@ class CharacterHandler { int modifier = 0, int hp = 0, bool isNPC = false, - QString additionalInf = ""); + QString additionalInf = QString()); // Sort the stored characters void