mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-12 16:52:22 +00:00
replace __debugbreak with assert, fix full build
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user