Skip to content

Commit 913c4ad

Browse files
committed
Fix identation issues in game_ai.cpp
1 parent b868b11 commit 913c4ad

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

ai/game_ai.cpp

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ void array_to_bits_16(volatile signed short & result, const bool b[16])
6161
for (int bit = 0; bit <= 15; bit++)
6262
{
6363
result |= b[bit] ? (1 << bit) : 0;
64-
}
64+
}
6565
}
6666

6767
//======================================================
@@ -169,9 +169,9 @@ void GameAIManager::Think(bool override_p1, bool override_p2, bool show_debug, c
169169
}
170170

171171
if (g_frameCount >= 3)
172-
{
172+
{
173173
if (ga)
174-
{
174+
{
175175
bool b[16] = {0};
176176

177177
g_buttons_bits[0]=0;
@@ -189,13 +189,12 @@ void GameAIManager::Think(bool override_p1, bool override_p2, bool show_debug, c
189189
array_to_bits_16(g_buttons_bits[1], b);
190190
}
191191
}
192-
193-
g_frameCount=0;
194-
}
195-
else
192+
g_frameCount=0;
193+
}
194+
else
196195
{
197-
g_frameCount++;
198-
}
196+
g_frameCount++;
197+
}
199198
}
200199

201200
//======================================================

0 commit comments

Comments
 (0)