Switched Doom 3 weapons to native.

This commit is contained in:
Justin Marshall
2026-05-19 08:28:43 -07:00
parent b841fcb33b
commit b97127f038
82 changed files with 20023 additions and 1371 deletions
+33
View File
@@ -0,0 +1,33 @@
// BotAI_respawn.cpp
//
#pragma hdrstop
#include "precompiled.h"
#include "../Game_local.h"
/*
=====================
rvmBot::state_Respawn
=====================
*/
stateResult_t rvmBot::state_Respawn(stateParms_t* parms)
{
if (parms->stage == 0)
{
bs.botinput.respawn = true;
parms->stage = 1;
return SRESULT_WAIT;
}
if (parms->stage == 1)
{
if (spectating)
{
return SRESULT_WAIT; // Wait until we have moved from spectator back into the game.
}
}
bs.botinput.respawn = false;
stateThread.SetState("state_SeekLTG");
return SRESULT_DONE_FRAME;
}