mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-24 10:33:50 +00:00
Replace MSVC __debugbreak with cross-compiler DEBUG_BREAK macro. (#1540)
Some checks failed
Nightly Server Release / build (Windows64) (push) Has been cancelled
Nightly Release / build (Windows64) (push) Has been cancelled
Nightly Server Release / release (push) Has been cancelled
Nightly Server Release / Build and Push Docker Image (push) Has been cancelled
Nightly Server Release / cleanup (push) Has been cancelled
Nightly Release / release (push) Has been cancelled
Nightly Release / cleanup (push) Has been cancelled
Some checks failed
Nightly Server Release / build (Windows64) (push) Has been cancelled
Nightly Release / build (Windows64) (push) Has been cancelled
Nightly Server Release / release (push) Has been cancelled
Nightly Server Release / Build and Push Docker Image (push) Has been cancelled
Nightly Server Release / cleanup (push) Has been cancelled
Nightly Release / release (push) Has been cancelled
Nightly Release / cleanup (push) Has been cancelled
This commit is contained in:
parent
3ab29ec26e
commit
585455cef0
73 changed files with 117 additions and 129 deletions
|
|
@ -171,7 +171,7 @@ DLCPack *DLCManager::getPack(DWORD index, EDLCType type /*= e_DLCType_All*/)
|
|||
if(index >= m_packs.size())
|
||||
{
|
||||
app.DebugPrintf("DLCManager: Trying to access a DLC pack beyond the range of valid packs\n");
|
||||
__debugbreak();
|
||||
DEBUG_BREAK();
|
||||
}
|
||||
pack = m_packs[index];
|
||||
}
|
||||
|
|
@ -186,7 +186,6 @@ DWORD DLCManager::getPackIndex(DLCPack *pack, bool &found, EDLCType type /*= e_D
|
|||
if(pack == nullptr)
|
||||
{
|
||||
app.DebugPrintf("DLCManager: Attempting to find the index for a nullptr pack\n");
|
||||
//__debugbreak();
|
||||
return foundIndex;
|
||||
}
|
||||
if( type != e_DLCType_All )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue