Explorar el Código

Follow up to 07e2bf0

Fixed a missing switch case.

Thanks to @teededung and @RadianFord.
Lemongrass3110 hace 7 años
padre
commit
cc63bb594f
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/map/script.cpp

+ 1 - 0
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;