1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-27 09:24:53 +00:00

gobot:: fix uninitialized variable

This commit is contained in:
Zeno Rogue 2023-08-14 20:15:31 +02:00
parent a70940b3ee
commit 535d86a1c8

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++)