- Added more options to Light_ForceLightning: Setting the first arg to 0

will behave as before, setting it to 1 will create exactly one lighting
  and setting it to 2 will terminate lightning for the current level
  completely. And it will also work on maps that don't have lightning set
  in MAPINFO now.


SVN r837 (trunk)
This commit is contained in:
Christoph Oelckers 2008-03-22 12:41:36 +00:00
commit eef724b58e
5 changed files with 33 additions and 18 deletions

View file

@ -1666,9 +1666,9 @@ FUNC(LS_Elevator_LowerToNearest)
}
FUNC(LS_Light_ForceLightning)
// Light_ForceLightning (tag)
// Light_ForceLightning (mode)
{
P_ForceLightning ();
P_ForceLightning (arg0);
return true;
}