mirror of
https://github.com/ZDoom/gzdoom-last-svn.git
synced 2025-06-04 19:20:53 +00:00
- Update to ZDoom r860
git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@80 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
parent
a2b23a7e43
commit
69ffed978f
22 changed files with 109 additions and 80 deletions
|
@ -561,10 +561,10 @@ void AActor::Die (AActor *source, AActor *inflictor)
|
|||
player->respawn_time = level.time + TICRATE;
|
||||
|
||||
//Added by MC: Respawn bots
|
||||
if (bglobal.botnum && consoleplayer == Net_Arbitrator && !demoplayback)
|
||||
if (bglobal->botnum && consoleplayer == Net_Arbitrator && !demoplayback)
|
||||
{
|
||||
if (player->isbot)
|
||||
player->t_respawn = (pr_botrespawn()%15)+((bglobal.botnum-1)*2)+TICRATE+1;
|
||||
player->t_respawn = (pr_botrespawn()%15)+((bglobal->botnum-1)*2)+TICRATE+1;
|
||||
|
||||
//Added by MC: Discard enemies.
|
||||
for (int i = 0; i < MAXPLAYERS; i++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue