Skip to content

Commit

Permalink
[rtx] fix demo playback when thirdperson flag is set
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxor4d committed Apr 6, 2024
1 parent fc2f85a commit 1b089ab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/modules/rtx/rtx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,11 @@ namespace components
*/
void rtx::player_origin_model()
{
if (game::clc.demoplaying)
{
return;
}

const auto index = game::G_ModelIndex("rtx_player_origin");

if ( !axis_spawned
Expand Down

0 comments on commit 1b089ab

Please sign in to comment.