From 23e56ea0848442f6eb00968a951d34e9b66bed2e Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Mon, 27 Jun 2011 15:04:03 -0400 Subject: [PATCH] Wrong operator. --- src/ScreenEdit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ScreenEdit.cpp b/src/ScreenEdit.cpp index 868c40bb71..4d2a584b0c 100644 --- a/src/ScreenEdit.cpp +++ b/src/ScreenEdit.cpp @@ -4522,7 +4522,7 @@ void ScreenEdit::SetupCourseAttacks() else { const PlayerOptions &p = GAMESTATE->m_pPlayerState[PLAYER_1]->m_PlayerOptions.GetCurrent(); - if (GAMESTATE->m_pCurSong && p.m_fNoAttack != 0 && p.m_fRandAttack != 0 ) + if (GAMESTATE->m_pCurSong && p.m_fNoAttack == 0 && p.m_fRandAttack == 0 ) { AttackArray &attacks = GAMESTATE->m_bIsUsingStepTiming ? GAMESTATE->m_pCurSteps[PLAYER_1]->m_Attacks :