I have a question about the following code:
if (MOB_FLAGGED(ch, MOB_SPEC) && GET_MOB_SPEC(ch) && !MOB_FLAGGED(ch, MOB_NOTDEADYET)) {
char actbuf[MAX_INPUT_LENGTH] = "";
(GET_MOB_SPEC(ch)) (ch, ch, 0, actbuf);
}
I am curious about the role of this code that exists within the perform_violence(void) function. My assumption is that it turns off the SPEC function when the SPECIAL feature is on and GET_POS() is POS_DEAD. Is my assumption correct? If this code is omitted, would it be handled by free() in extract_char()? Would there be any issues afterwards?
I have been continuously modifying the circle30bpl11 version for Windows console, and recently I have been debugging it with VS 2022, which resulted in an exception handling error. I am referring to tbamud, and I am curious about this."