mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-16 16:20:42 +02:00
Switched Doom 3 weapons to native.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user