From 4802d4bae2dd7d03eb8f563ab0e75c4512ec1752 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 9 Nov 2014 11:57:14 -0800 Subject: [PATCH] Remove use of macros in mapchooser. --- plugins/mapchooser.sp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/plugins/mapchooser.sp b/plugins/mapchooser.sp index 8c36a086..043f1f00 100644 --- a/plugins/mapchooser.sp +++ b/plugins/mapchooser.sp @@ -32,16 +32,6 @@ * Version: $Id$ */ -//#define DEBUG - -#if defined DEBUG - #define assert(%1) if (!(%1)) ThrowError("Debug Assertion Failed"); - #define assert_msg(%1,%2) if (!(%1)) ThrowError(%2); -#else - #define assert(%1) - #define assert_msg(%1,%2) -#endif - #pragma semicolon 1 #include #include @@ -948,7 +938,6 @@ bool:RemoveStringFromArray(Handle:array, String:str[]) CreateNextVote() { - assert(g_NextMapList) ClearArray(g_NextMapList); decl String:map[PLATFORM_MAX_PATH];