- Allow negative parameters to A_Light.

SVN r4144 (trunk)
This commit is contained in:
Randy Heit 2013-02-19 02:25:20 +00:00
parent b96d305c87
commit 619e65ad6f

View file

@ -997,7 +997,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AInventory, A_Light)
if (self->player != NULL)
{
self->player->extralight = clamp<int>(light, 0, 20);
self->player->extralight = clamp<int>(light, -20, 20);
}
}