case "S": replacement = ftos(vlen(self.velocity)); break;
default:
{
- MUTATOR_CALLHOOK(FormatMessage, escape, replacement);
+ MUTATOR_CALLHOOK(FormatMessage, escape, replacement, msg);
+ escape = format_escape;
+ replacement = format_replacement;
break;
}
}
/**/ i(string, format_escape) \
/**/ i(string, format_replacement) \
/**/ o(string, format_replacement) \
+ /**/ i(string, format_message) \
/**/
string format_escape;
string format_replacement;
+string format_message;
MUTATOR_HOOKABLE(FormatMessage, EV_FormatMessage);
/** returns 1 if throwing the current weapon shall not be allowed */