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:
parent
2d7592c2c3
commit
fd7ed2bc25
21 changed files with 89 additions and 66 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue