mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
Take in the targeter layers if someone disables the safety and uses 0 for start and stop.
This commit is contained in:
parent
ecfa7415b3
commit
e02ed3a6f7
1 changed files with 2 additions and 2 deletions
|
@ -1163,8 +1163,8 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_ClearOverlays)
|
||||||
player_t *player = self->player;
|
player_t *player = self->player;
|
||||||
if (!start && !stop)
|
if (!start && !stop)
|
||||||
{
|
{
|
||||||
start = -INT_MAX;
|
start = INT_MIN;
|
||||||
stop = PSP_TARGETCENTER - 1;
|
stop = safety ? PSP_TARGETCENTER - 1 : INT_MAX;
|
||||||
}
|
}
|
||||||
|
|
||||||
int count = 0;
|
int count = 0;
|
||||||
|
|
Loading…
Reference in a new issue