mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-12 17:41:59 +00:00
Replace MSVC __debugbreak with cross-compiler DEBUG_BREAK macro. (#1540)
This commit is contained in:
@@ -24,7 +24,7 @@ GameRule::ValueType GameRule::getParameter(const wstring ¶meterName)
|
||||
{
|
||||
#ifndef _CONTENT_PACKAGE
|
||||
wprintf(L"WARNING: Parameter %ls was not set before being fetched\n", parameterName.c_str());
|
||||
__debugbreak();
|
||||
DEBUG_BREAK();
|
||||
#endif
|
||||
}
|
||||
return m_parameters[parameterName];
|
||||
|
||||
Reference in New Issue
Block a user