mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-13 10:02:00 +00:00
Replace MSVC __debugbreak with cross-compiler DEBUG_BREAK macro. (#1540)
This commit is contained in:
@@ -38,7 +38,7 @@ void MoveEntityPacket::write(DataOutputStream *dos) //throws IOException
|
||||
if( (id < 0 ) || (id >= 16384 ) )
|
||||
{
|
||||
// We shouln't be tracking an entity that doesn't have a short type of id
|
||||
__debugbreak();
|
||||
DEBUG_BREAK();
|
||||
}
|
||||
dos->writeShort(static_cast<short>(id));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user