Topic: [PROBLEM] Vector memory issue
Hello,
I'm working on my another TW modification.
I've put a vector to a struct inside the CGameContext class. In the SendChatTarget(), I push back some data into it. When the method finishes, there's nothing in the vector (its size is 0, it's empty).
Here are my files:
https://github.com/kikiw/Teeworlds-Mod/ … ontext.cpp
https://github.com/kikiw/Teeworlds-Mod/ … econtext.h
(In the cpp file, I push back data at line 319)
How can I fix it?