gobot:: fix uninitialized variable

This commit is contained in:
Zeno Rogue 2023-08-14 20:15:31 +02:00
parent a70940b3ee
commit 535d86a1c8
1 changed files with 1 additions and 1 deletions

View File

@ -533,7 +533,7 @@ void accept_command(string s) {
if(tokens[0] == "score") {
array<int, 4> owned_by, stones;
for(int i=0; i<2; i++)
for(int i=0; i<4; i++)
owned_by[i] = stones[i] = 0;
for(int i=0; i<isize(ac); i++)