From a14caa57575f556548d8a1ec951488e2b8bcf58c Mon Sep 17 00:00:00 2001 From: ghost Date: Sat, 13 Jan 2024 02:48:01 +0200 Subject: [PATCH] increase new skin index --- dlls/bot/bot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/bot/bot.cpp b/dlls/bot/bot.cpp index 83fbd79f..4da8ce76 100644 --- a/dlls/bot/bot.cpp +++ b/dlls/bot/bot.cpp @@ -143,7 +143,7 @@ void BotCreate(const char *skin, const char *name, const char *skill) if ((skin == NULL) || (*skin == 0)) { // pick a random skin - index = RANDOM_LONG(0, 9); // there are ten possible skins + index = RANDOM_LONG(0, 10); // there are ten possible skins // check if this skin has already been used... while (skin_used[index] == TRUE)