From 16a270764c122d2f8c87c40bbe1b39414f3bbdd0 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Sat, 15 Apr 2017 10:06:52 -0400 Subject: [PATCH] Use new SDK compat shim instead of ifdef for missing Error() in S2. --- core/provider/provider_ep2.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/provider/provider_ep2.cpp b/core/provider/provider_ep2.cpp index 2430c31..54b447c 100644 --- a/core/provider/provider_ep2.cpp +++ b/core/provider/provider_ep2.cpp @@ -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, ...)