mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-23 21:24:27 +00:00
Merge pull request #5 from YGGverse/bot10-extra-skins
increase new skin index
This commit is contained in:
commit
aa508a176e
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user