Skip to content

Commit

Permalink
Fix identation issues in game_ai.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
MatPoliquin committed Jan 14, 2025
1 parent b868b11 commit 913c4ad
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions ai/game_ai.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void array_to_bits_16(volatile signed short & result, const bool b[16])
for (int bit = 0; bit <= 15; bit++)
{
result |= b[bit] ? (1 << bit) : 0;
}
}
}

//======================================================
Expand Down Expand Up @@ -169,9 +169,9 @@ void GameAIManager::Think(bool override_p1, bool override_p2, bool show_debug, c
}

if (g_frameCount >= 3)
{
{
if (ga)
{
{
bool b[16] = {0};

g_buttons_bits[0]=0;
Expand All @@ -189,13 +189,12 @@ void GameAIManager::Think(bool override_p1, bool override_p2, bool show_debug, c
array_to_bits_16(g_buttons_bits[1], b);
}
}

g_frameCount=0;
}
else
g_frameCount=0;
}
else
{
g_frameCount++;
}
g_frameCount++;
}
}

//======================================================
Expand Down

0 comments on commit 913c4ad

Please sign in to comment.