1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-11-28 10:24:20 +01:00

Use new SDK compat shim instead of ifdef for missing Error() in S2.

This commit is contained in:
Nicholas Hastings 2017-04-15 10:06:52 -04:00
parent a8110f530b
commit 16a270764c

View File

@ -409,11 +409,7 @@ void BaseProvider::DisplayError(const char *fmt, ...)
UTIL_FormatArgs(buffer, sizeof(buffer), fmt, ap);
va_end(ap);
#if SOURCE_ENGINE == SE_DOTA
Msg("ERROR: %s", buffer);
#else
Error("%s", buffer);
#endif
}
void BaseProvider::DisplayWarning(const char *fmt, ...)