mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 15:22:15 +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;
|
||||
if (!start && !stop)
|
||||
{
|
||||
start = -INT_MAX;
|
||||
stop = PSP_TARGETCENTER - 1;
|
||||
start = INT_MIN;
|
||||
stop = safety ? PSP_TARGETCENTER - 1 : INT_MAX;
|
||||
}
|
||||
|
||||
int count = 0;
|
||||
|
|
Loading…
Reference in a new issue