Wrap debug print with debug check

This commit is contained in:
KiD Fearless 2021-01-20 13:15:54 -07:00
parent 590b70dd2f
commit 3ceb90644f

View File

@ -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);
} }