- fixed: Sector_SetWind and Sector_SetCurrent were not usable in scripts called from a line.

- added Gez's A_Mushroom extension.


SVN r2144 (trunk)
This commit is contained in:
Christoph Oelckers 2010-01-30 14:35:52 +00:00
commit a5e1fe6906
6 changed files with 33 additions and 19 deletions

View file

@ -1853,7 +1853,7 @@ void AdjustPusher (int tag, int magnitude, int angle, DPusher::EPusher type)
FUNC(LS_Sector_SetWind)
// Sector_SetWind (tag, amount, angle)
{
if (ln || arg3)
if (arg3)
return false;
AdjustPusher (arg0, arg1, arg2, DPusher::p_wind);
@ -1863,7 +1863,7 @@ FUNC(LS_Sector_SetWind)
FUNC(LS_Sector_SetCurrent)
// Sector_SetCurrent (tag, amount, angle)
{
if (ln || arg3)
if (arg3)
return false;
AdjustPusher (arg0, arg1, arg2, DPusher::p_current);