- fixed inverted NULL pointer check in A_SetAngle.

- let COPY_AAPTR check the most common case AAPTR_DEFAULT first instead of running through all the other cases for it.
This commit is contained in:
Christoph Oelckers 2016-01-24 11:50:21 +01:00
commit 67f644c898
2 changed files with 3 additions and 1 deletions

View file

@ -32,6 +32,8 @@
AActor *COPY_AAPTR(AActor *origin, int selector)
{
if (selector == AAPTR_DEFAULT) return origin;
if (origin)
{
if (origin->player)