- Fix errors/warnings from MinGW 4.5.0 (tdm-1).
- Disable the missing field initializers warnings that -Wextra produces from GCC. SVN r3173 (trunk)
This commit is contained in:
parent
b477ed8490
commit
d3b44a4172
19 changed files with 25 additions and 23 deletions
|
|
@ -3511,8 +3511,6 @@ int DLevelScript::CallFunction(int argCount, int funcIndex, SDWORD *args)
|
|||
{
|
||||
TActorIterator<AActor> srciter (args[0]);
|
||||
|
||||
if (args[1] == 0) dest = (AActor *) activator;
|
||||
|
||||
while ( (source = srciter.Next ()) )
|
||||
{
|
||||
if (args[1] != 0)
|
||||
|
|
@ -3525,7 +3523,7 @@ int DLevelScript::CallFunction(int argCount, int funcIndex, SDWORD *args)
|
|||
}
|
||||
else
|
||||
{
|
||||
if (P_CheckSight(source, dest, flags)) return 1;
|
||||
if (P_CheckSight(source, activator, flags)) return 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue