mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 10:28:26 +00:00
Wrap debug print with debug check
This commit is contained in:
parent
590b70dd2f
commit
3ceb90644f
@ -702,7 +702,9 @@ public void LoadStageZones()
|
|||||||
{
|
{
|
||||||
char sQuery[256];
|
char sQuery[256];
|
||||||
FormatEx(sQuery, 256, "SELECT id, data FROM mapzones WHERE type = %i and map = '%s'", Zone_Stage, gS_Map);
|
FormatEx(sQuery, 256, "SELECT id, data FROM mapzones WHERE type = %i and map = '%s'", Zone_Stage, gS_Map);
|
||||||
|
#if DEBUG
|
||||||
PrintToChatAll("%s", sQuery);
|
PrintToChatAll("%s", sQuery);
|
||||||
|
#endif
|
||||||
gH_SQL.Query(SQL_GetStageZone_Callback, sQuery,0, DBPrio_High);
|
gH_SQL.Query(SQL_GetStageZone_Callback, sQuery,0, DBPrio_High);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user