mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
- fixed yet another place where VS did not warn about improper use of NULL.
This commit is contained in:
parent
3ce699bf9b
commit
10bc01c000
1 changed files with 1 additions and 1 deletions
|
@ -3084,7 +3084,7 @@ void FinishDehPatch ()
|
|||
break; // State has already been checked so we reached a loop
|
||||
}
|
||||
StateVisited[state] = true;
|
||||
for(unsigned j = 0; AmmoPerAttacks[j].func != NULL; j++)
|
||||
for(unsigned j = 0; AmmoPerAttacks[j].func != NAME_None; j++)
|
||||
{
|
||||
if (AmmoPerAttacks[i].ptr == nullptr)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue