1
0
Pārlūkot izejas kodu

[fixed] get_class function now properly defaults to your bmi and strength as expected. Found by Jack Lagas

anjuna krokus 1 mēnesi atpakaļ
vecāks
revīzija
e1dea73530
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      locations/body_structure.qsrc

+ 3 - 0
locations/body_structure.qsrc

@@ -4,6 +4,9 @@
 !	Get the bmi-strength class
 !	bs_class = func('body_structure', 'get_class', pcs_bmi, strenbuf)
 if $ARGS[0] = 'get_class':
+	if arrsize('ARGS') = 1: ARGS[1] = pcs_bmi
+	if arrsize('ARGS') = 2: ARGS[2] = strenbuf
+
 	!	bmi
 	if ARGS[1] < 16:
 		result = 0