From 9cde95495d1c5ffa641ecfec9619c3ca6b9c4123 Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Fri, 12 Jun 2020 16:41:21 +0200 Subject: [PATCH] monster_scientist: Fix the model/character selection using the new SetBody system --- src/server/valve/monster_scientist.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/server/valve/monster_scientist.cpp b/src/server/valve/monster_scientist.cpp index cfaaa4ba..13ffb465 100644 --- a/src/server/valve/monster_scientist.cpp +++ b/src/server/valve/monster_scientist.cpp @@ -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;