mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 07:30:26 +00:00
fixed some unitialized variable warnings
This commit is contained in:
parent
7058ccf747
commit
a8a402e6ab
@ -442,7 +442,7 @@ void do_viewdist(cell *c, const transmatrix& V, color_t& wcol, color_t& fcol) {
|
||||
}
|
||||
|
||||
string label = "";
|
||||
int dc;
|
||||
int dc = 0xFFD500;
|
||||
|
||||
switch(number_coding) {
|
||||
case ncDistance: {
|
||||
|
@ -172,7 +172,7 @@ namespace yendor {
|
||||
if(true) {
|
||||
int t = -1;
|
||||
bignum full_id;
|
||||
bool onlychild;
|
||||
bool onlychild = true;
|
||||
|
||||
cellwalker ycw(yendor, hrand(yendor->type));
|
||||
ycw--; if(S3 == 3) ycw--;
|
||||
@ -202,7 +202,7 @@ namespace yendor {
|
||||
if(ycw.at->land == laEndorian) {
|
||||
// follow the branch in Yendorian
|
||||
int bestval = -2000;
|
||||
int best, qbest;
|
||||
int best = 0, qbest = 0;
|
||||
for(int d=0; d<ycw.at->type; d++) {
|
||||
setdist(ycw.at, 7, ycw.peek());
|
||||
cell *c1 = (ycw+d).cpeek();
|
||||
|
Loading…
Reference in New Issue
Block a user