mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-25 05:21:02 +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
|
break; // State has already been checked so we reached a loop
|
||||||
}
|
}
|
||||||
StateVisited[state] = true;
|
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)
|
if (AmmoPerAttacks[i].ptr == nullptr)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue