Remove use of macros in mapchooser.
This commit is contained in:
parent
6e045ef43c
commit
4802d4bae2
@ -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 <sourcemod>
|
||||
#include <mapchooser>
|
||||
@ -948,7 +938,6 @@ bool:RemoveStringFromArray(Handle:array, String:str[])
|
||||
|
||||
CreateNextVote()
|
||||
{
|
||||
assert(g_NextMapList)
|
||||
ClearArray(g_NextMapList);
|
||||
|
||||
decl String:map[PLATFORM_MAX_PATH];
|
||||
|
Loading…
Reference in New Issue
Block a user