mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 14:54:30 +01:00
Fix wrong #define checks for DEBUG macro
This commit is contained in:
@@ -252,7 +252,7 @@ extern "C"
|
||||
{
|
||||
if (_allocatedImageCount != 0)
|
||||
{
|
||||
#if DEBUG
|
||||
#ifdef DEBUG
|
||||
Guard::Assert(_allocatedImageCount == 0, "%u images were not freed", _allocatedImageCount);
|
||||
#else
|
||||
Console::Error::WriteLine("%u images were not freed", _allocatedImageCount);
|
||||
|
||||
Reference in New Issue
Block a user