mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 15:00:26 +00:00
fixed some uninitialized variable warnings
This commit is contained in:
parent
57f2891826
commit
f9db5b3863
4
reg3.cpp
4
reg3.cpp
@ -400,7 +400,7 @@ namespace reg3 {
|
||||
if(S7 == 12) {
|
||||
// Emerald in 534
|
||||
cell *a = gamestart();
|
||||
cell *b;
|
||||
cell *b = a;
|
||||
for(cell *c: allcells())
|
||||
if(hr::celldistance(a, c) == 5) {
|
||||
b = c;
|
||||
@ -442,7 +442,7 @@ namespace reg3 {
|
||||
if(ok) nwi.insert(i);
|
||||
}
|
||||
|
||||
int gpow;
|
||||
int gpow = 0;
|
||||
|
||||
for(int i: nwi) {
|
||||
int pw = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user