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

@@ -237,7 +237,7 @@ Icon* TextureMap::registerIcon(const std::wstring& name) {
if (name.empty()) {
Log::info("Don't register nullptr\n");
#ifndef _CONTENT_PACKAGE
__debugbreak();
assert(0);
#endif
// new RuntimeException("Don't register null!").printStackTrace();
}