mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2025-01-18 21:21:36 +00:00
- Allow negative parameters to A_Light.
SVN r4144 (trunk)
This commit is contained in:
parent
b96d305c87
commit
619e65ad6f
1 changed files with 1 additions and 1 deletions
|
@ -997,7 +997,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AInventory, A_Light)
|
||||||
|
|
||||||
if (self->player != NULL)
|
if (self->player != NULL)
|
||||||
{
|
{
|
||||||
self->player->extralight = clamp<int>(light, 0, 20);
|
self->player->extralight = clamp<int>(light, -20, 20);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue