From d217b943d45ac1052b87c1882b159fcdd5901774 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Wed, 5 Jun 2013 20:45:20 -0400 Subject: [PATCH] Kill Valve debug code included by dota usermessage helpers when _DEBUG. --HG-- extra : rebase_source : caa4ed31c57e632f9afcf09417dc7bd7637d8a35 --- .../shared/dota/protobuf/dota_usermessage_helpers.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/public/game/shared/dota/protobuf/dota_usermessage_helpers.h b/public/game/shared/dota/protobuf/dota_usermessage_helpers.h index 3333ae01..340ec400 100644 --- a/public/game/shared/dota/protobuf/dota_usermessage_helpers.h +++ b/public/game/shared/dota/protobuf/dota_usermessage_helpers.h @@ -3,7 +3,17 @@ #include "game/shared/protobuf/usermessages.pb.h" #include "game/shared/dota/protobuf/dota_usermessages.pb.h" + +#ifdef _DEBUG +#define KILL_DEBUG +#undef _DEBUG #include +#endif + +#ifdef KILL_DEBUG +#define _DEBUG +#undef KILL_DEBUG +#endif class CDotaUsermessageHelpers {