From cc63bb594f3fc6a27d77b7789706a4b056ab98ca Mon Sep 17 00:00:00 2001 From: Lemongrass3110 Date: Wed, 11 Apr 2018 14:50:35 +0200 Subject: [PATCH] Follow up to 07e2bf0 Fixed a missing switch case. Thanks to @teededung and @RadianFord. --- src/map/script.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/map/script.cpp b/src/map/script.cpp index 12c1e23255..31c5a6cc13 100644 --- a/src/map/script.cpp +++ b/src/map/script.cpp @@ -9246,6 +9246,7 @@ BUILDIN_FUNC(bonus) } switch( script_lastdata(st)-2 ) { + case 0: case 1: pc_bonus(sd, type, val1); break;