mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-16 17:21:10 +00:00
- allow A_SetCrosshair(-1) to hide the crosshair for effects such as custom scopes
This commit is contained in:
parent
3d57170e69
commit
8fe58db311
1 changed files with 4 additions and 0 deletions
|
@ -233,6 +233,10 @@ void ST_LoadCrosshair(bool alwaysload)
|
||||||
{
|
{
|
||||||
num = crosshair;
|
num = crosshair;
|
||||||
}
|
}
|
||||||
|
if (num < 0)
|
||||||
|
{
|
||||||
|
num = 0;
|
||||||
|
}
|
||||||
ST_LoadCrosshair(num, alwaysload);
|
ST_LoadCrosshair(num, alwaysload);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue