From fde01f75f978e497fa2115bd7e6824e4a0d7ef88 Mon Sep 17 00:00:00 2001 From: KPhoenix Date: Sat, 15 Jul 2023 23:03:38 -0400 Subject: [PATCH] move app_fatal --- Source/missiles.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Source/missiles.cpp b/Source/missiles.cpp index b1c03e1fd996..da815b0d5fa2 100644 --- a/Source/missiles.cpp +++ b/Source/missiles.cpp @@ -1416,15 +1416,13 @@ void AddItemMissile(Missile &missile, AddMissileParameter ¶meter) itemMissileID = IPL_ADDMANAAC; goto end_loop; default: - break; + app_fatal(StrCat("wrong itemMissileID: ", itemMissileID)); } } } } end_loop: // Grab the first spectralID we get and proceed - if (itemMissileID == 0) - app_fatal(StrCat("wrong itemMissileID: ", itemMissileID)); switch (player._pClass) { case HeroClass::Rogue: