Anq
Prince
It's the first time I tried CvString::format, and I didn't test the output. I should convert the argument to const char* by doing szTypeReplace.c_str().@Anq: Could you make this assert message about replacement ID errors on XML load a bit more helpful?
Would be nice to see the replacement ID string that is causing the error, when something is wrong on this front.
View attachment 532812
I'll change that message to "No replacement condition for this Replacement ID %s, make sure it's defined for the first replacement object loaded."