Follow up to 07e2bf0

Fixed a missing switch case.

Thanks to @teededung and @RadianFord.
This commit is contained in:
Lemongrass3110 2018-04-11 14:50:35 +02:00
parent e2b9e42b7d
commit cc63bb594f

View File

@ -9246,6 +9246,7 @@ BUILDIN_FUNC(bonus)
}
switch( script_lastdata(st)-2 ) {
case 0:
case 1:
pc_bonus(sd, type, val1);
break;