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:
parent
a8110f530b
commit
16a270764c
@ -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, ...)
|
||||
|
Loading…
Reference in New Issue
Block a user