Skip to content

Commit

Permalink
- allow A_SetCrosshair(-1) to hide the crosshair for effects such as …
Browse files Browse the repository at this point in the history
…custom scopes
  • Loading branch information
madame-rachelle committed Apr 18, 2024
1 parent 3d57170 commit 8fe58db
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/g_statusbar/shared_sbar.cpp
Expand Up @@ -233,6 +233,10 @@ void ST_LoadCrosshair(bool alwaysload)
{
num = crosshair;
}
if (num < 0)
{
num = 0;
}
ST_LoadCrosshair(num, alwaysload);
}

Expand Down

0 comments on commit 8fe58db

Please sign in to comment.