foxygit / doom Log in
commit 471b912a41d283f28b5fec6382adbdc13251fa8d
Author:     Samuel Villareal <svkaiser@gmail.com>
AuthorDate: Mon Sep 6 22:35:53 2010 +0000
Commit:     Samuel Villareal <svkaiser@gmail.com>
CommitDate: Mon Sep 6 22:35:53 2010 +0000

    + Fixed typo in A_SentinelAttack

    Subversion-branch: /branches/strife-branch
    Subversion-revision: 2026
---
 src/strife/p_enemy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/strife/p_enemy.c b/src/strife/p_enemy.c
index eda65b8c..3f3b08d8 100644
--- a/src/strife/p_enemy.c
+++ b/src/strife/p_enemy.c
@@ -1293,7 +1293,7 @@ void A_SentinelAttack(mobj_t* actor)
     mo = P_SpawnFacingMissile(actor, actor->target, MT_L_LASER);
     an = actor->angle >> ANGLETOFINESHIFT;

-    if(mo->momy || mo->momx)
+    if(mo->momy | mo->momx) // villsa - fixed typo (yes, they actually used '|' instead of'||')
     {
         for(i = 8; i > 1; i--)
         {