- 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

@ -2059,11 +2059,13 @@ static void P_SpawnPushers ()
case Sector_SetWind: // wind
for (s = -1; (s = P_FindSectorFromTag (l->args[0],s)) >= 0 ; )
new DPusher (DPusher::p_wind, l->args[3] ? l : NULL, l->args[1], l->args[2], NULL, s);
l->special = 0;
break;
case Sector_SetCurrent: // current
for (s = -1; (s = P_FindSectorFromTag (l->args[0],s)) >= 0 ; )
new DPusher (DPusher::p_current, l->args[3] ? l : NULL, l->args[1], l->args[2], NULL, s);
l->special = 0;
break;
case PointPush_SetForce: // push/pull
@ -2092,6 +2094,7 @@ static void P_SpawnPushers ()
}
}
}
l->special = 0;
break;
}
}