replace __debugbreak with assert, fix full build

This commit is contained in:
Tropical
2026-04-07 18:58:49 -05:00
parent 6faa481013
commit e4883d87fc
60 changed files with 105 additions and 120 deletions

View File

@@ -43,13 +43,13 @@ SetPlayerTeamPacket::SetPlayerTeamPacket(PlayerTeam* team,
if (method != METHOD_JOIN && method != METHOD_LEAVE) {
Log::info("Method must be join or leave for player constructor");
#ifndef _CONTENT_PACKAGE
__debugbreak();
assert(0);
#endif
}
if (playerNames == nullptr || playerNames->empty()) {
Log::info("Players cannot be null/empty");
#ifndef _CONTENT_PACKAGE
__debugbreak();
assert(0);
#endif
}