Browse Source

increase new skin index

pull/5/head
ghost 11 months ago
parent
commit
a14caa5757
  1. 2
      dlls/bot/bot.cpp

2
dlls/bot/bot.cpp

@ -143,7 +143,7 @@ void BotCreate(const char *skin, const char *name, const char *skill)
if ((skin == NULL) || (*skin == 0)) if ((skin == NULL) || (*skin == 0))
{ {
// pick a random skin // 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... // check if this skin has already been used...
while (skin_used[index] == TRUE) while (skin_used[index] == TRUE)

Loading…
Cancel
Save