Change "list" to something else (like "_list" or something). I read that I didn't work for someone, but it worked for me.
Change all the "clear"s to "erase".
Note: There are four appearances of .clear() in that file that are ok, so don't just use the replace function. Only change those causing an error.
"#define DEBUG" at the beginning of "NPCFactionList.cpp"
|