I added character's dying meaning that they are erased from the m_characters vector. However, because of the const m_id member in the character class there was issues with calling the destructor on them. So after researching into it I didnt really understand the error any better so I got rid of the const and it worked and it doesn't seemed to have broken anything. So if it has messed up something that might be why
I added character's dying meaning that they are erased from the m_characters vector. However, because of the const m_id member in the character class there was issues with calling the destructor on them. So after researching into it I didnt really understand the error any better so I got rid of the const and it worked and it doesn't seemed to have broken anything. So if it has messed up something that might be why