- 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:
parent
60ad26b231
commit
eef724b58e
5 changed files with 33 additions and 18 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue