From cd8f3f412c2a5f49ee25aab83079a655b88d6def Mon Sep 17 00:00:00 2001 From: fusion32 Date: Mon, 9 Jun 2025 01:19:20 -0300 Subject: finish `cract.cc` --- src/magic.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/magic.cc') diff --git a/src/magic.cc b/src/magic.cc index a222b3a..46da798 100644 --- a/src/magic.cc +++ b/src/magic.cc @@ -3690,7 +3690,7 @@ static void RuneSpell(uint32 CreatureID, int SpellNr){ ObjectType RuneType = GetNewObjectType(RuneGr, RuneNr); Change(LeftHand, RuneType, Amount); RuneCreated = true; - }catch(...){ + }catch(RESULT r){ if(!RuneCreated){ throw; } -- cgit v1.2.3