monster_scientist: Fix the model/character selection using the new SetBody system

This commit is contained in:
Marco Cawthorne 2020-06-12 16:41:21 +02:00
parent 8c62ea4f73
commit 9cde95495d

View file

@ -193,7 +193,8 @@ monster_scientist::monster_scientist(void)
for (int i = 1; i < (tokenize(__fullspawndata)-1); i += 2) {
switch (argv(i)) {
case "body":
SetBody(stoi(argv(i+1)) + 1);
body = stoi(argv(i+1)) + 1;
SetBody(body);
break;
default:
break;