Undo most of ZzZombo's changes

- "If it ain't broke, don't fix it."
- Some of the changes were downright wrong and some were pointless, so undo
  everything that doesn't look like an actual improvement.
This commit is contained in:
Randy Heit 2015-02-08 20:39:55 -06:00
commit fd7ed2bc25
21 changed files with 89 additions and 66 deletions

View file

@ -660,7 +660,10 @@ void ACSStringPool::ReadStrings(PNGHandle *png, DWORD id)
i++;
j = arc.ReadCount();
}
delete[] str;
if (str != NULL)
{
delete[] str;
}
FindFirstFreeEntry(0);
}
}
@ -5845,7 +5848,7 @@ doplaysound: if (funcIndex == ACSF_PlayActorSound)
bool canraiseall = true;
while ((actor = iterator.Next()))
{
canraiseall = P_Thing_CanRaise(actor) && canraiseall;
canraiseall = P_Thing_CanRaise(actor) & canraiseall;
}
return canraiseall;