mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Don't transfer clientpowerlevels to a bot
This commit is contained in:
parent
aa3499bcbd
commit
abef7460b5
1 changed files with 5 additions and 0 deletions
|
|
@ -174,6 +174,11 @@ void K_SetBot(UINT8 newplayernum, UINT8 skinnum, UINT8 difficulty, botStyle_e st
|
||||||
|
|
||||||
SetPlayerSkinByNum(newplayernum, skinnum);
|
SetPlayerSkinByNum(newplayernum, skinnum);
|
||||||
|
|
||||||
|
for (UINT8 i = 0; i < PWRLV_NUMTYPES; i++)
|
||||||
|
{
|
||||||
|
clientpowerlevels[newplayernum][i] = 0;
|
||||||
|
}
|
||||||
|
|
||||||
if (netgame)
|
if (netgame)
|
||||||
{
|
{
|
||||||
HU_AddChatText(va("\x82*Bot %d has been added to the game", newplayernum+1), false);
|
HU_AddChatText(va("\x82*Bot %d has been added to the game", newplayernum+1), false);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue