This commit is contained in:
Grant Bagwell 2021-01-04 13:26:52 +01:00
commit c68b7e1373
1 changed files with 3 additions and 17 deletions

View File

@ -8415,23 +8415,9 @@ bool idPlayer::UpdateFocusPDA()
void idPlayer::SendPDAEvent( const sysEvent_t* sev )
{
objectiveSystem->HandleEvent(sev, gameLocal.time );
//HandleGuiEvents( sev );
/*if ( common->Dialog().IsDialogActive() || game->Shell_IsActive() ) //commonVr->VR_GAME_PAUSED )
{
if ( common->Dialog().IsDialogActive() )
{
common->Dialog().HandleDialogEvent( sev );
}
else
{
game->Shell_HandleGuiEvent( sev );
}
}
else
{
HandleGuiEvents( sev );
}*/
const char *command = NULL;
command = objectiveSystem->HandleEvent(sev, gameLocal.time );
HandleGuiCommands( this, command );
}
/*