Updates for GZDoom 4.12, part 1 (new functions, variables, flags, etc.).
This commit is contained in:
parent
1fb4c27383
commit
f38db38751
79 changed files with 349 additions and 183 deletions
|
|
@ -72,8 +72,7 @@ Class SWWMStaticHandler : StaticEventHandler
|
|||
Array<Thinker> stinkers;
|
||||
if ( !sti ) sti = ThinkerIterator.Create("SWWMStaticThinker");
|
||||
else sti.Reinit();
|
||||
Thinker t;
|
||||
while ( t = sti.Next() ) stinkers.Push(t);
|
||||
foreach ( t:sti ) stinkers.Push(t);
|
||||
if ( stinkers.Size() > 0 )
|
||||
{
|
||||
foreach ( s:stinkers ) Console.PrintfEx(PRINT_HIGH|PRINT_NONOTIFY,"%s is not STAT_STATIC!",s.GetClassName());
|
||||
|
|
@ -341,8 +340,7 @@ Class SWWMStaticHandler : StaticEventHandler
|
|||
for ( int i=Thinker.STAT_INFO; i<Thinker.MAX_STATNUM; i++ )
|
||||
{
|
||||
let ti = ThinkerIterator.Create("Thinker",i);
|
||||
Thinker t;
|
||||
while ( t = ti.Next() )
|
||||
foreach ( t:ti )
|
||||
{
|
||||
if ( t is 'Actor' ) continue;
|
||||
let cls = t.GetClass();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue