replace __debugbreak with assert, fix full build
This commit is contained in:
1 parent
6faa481013
commit
e4883d87fc
60 files changed
+105
-120
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user