mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-27 13:02:49 +00:00
silenced the uninitialized variable warning
This commit is contained in:
parent
c1ef5938fc
commit
fbba325587
2
rug.cpp
2
rug.cpp
@ -410,7 +410,7 @@ void buildTorusRug() {
|
|||||||
|
|
||||||
ld factor = sqrt(ld(solution.second.d2()) / solution.first.d2());
|
ld factor = sqrt(ld(solution.second.d2()) / solution.first.d2());
|
||||||
|
|
||||||
ld xfactor, yfactor;
|
ld xfactor = 0, yfactor = 0;
|
||||||
|
|
||||||
Xprintf("factor = %lf\n", factor);
|
Xprintf("factor = %lf\n", factor);
|
||||||
if(factor <= 2.05) factor = 2.2;
|
if(factor <= 2.05) factor = 2.2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user