From c924e9a7d924eb5fe9b2080fb2caa35ac1203ca3 Mon Sep 17 00:00:00 2001 From: fallenoak Date: Sat, 21 Nov 2020 12:30:21 -0600 Subject: [PATCH] chore(error): add missing statements to STORM_ASSERT --- storm/Error.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/storm/Error.hpp b/storm/Error.hpp index a9f6800..38ec2af 100644 --- a/storm/Error.hpp +++ b/storm/Error.hpp @@ -14,6 +14,8 @@ if (!(x)) { \ SErrPrepareAppFatal(__FILE__, __LINE__); \ SErrDisplayAppFatal(#x); \ + SErrSetLastError(0x57); \ + return 0; \ } #endif