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:
parent
a70940b3ee
commit
535d86a1c8
@ -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++)
|
||||
|
Loading…
Reference in New Issue
Block a user