mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-26 00:47:00 +00:00
silence the clang warning about 'y=y'
This commit is contained in:
parent
e1675c55ee
commit
c0d0a17c9d
@ -304,7 +304,7 @@ void applymodel(hyperpoint H, hyperpoint& ret) {
|
|||||||
x *= 2; y *= 2;
|
x *= 2; y *= 2;
|
||||||
break;
|
break;
|
||||||
case gcEuclid:
|
case gcEuclid:
|
||||||
y = y;
|
// y = y;
|
||||||
y *= 2; x *= 2;
|
y *= 2; x *= 2;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -517,7 +517,7 @@ void drawrec(cell *c, const transmatrix& V) {
|
|||||||
|
|
||||||
void drawrec(cell *c, const transmatrix& V, gp::loc at, int dir, int maindir) {
|
void drawrec(cell *c, const transmatrix& V, gp::loc at, int dir, int maindir) {
|
||||||
if(dodrawcell(c)) {
|
if(dodrawcell(c)) {
|
||||||
/* auto li = get_local_info(c);
|
/* auto li = get_local_info(c);
|
||||||
if(fix6(dir) != fix6(li.total_dir)) printf("totaldir %d/%d\n", dir, li.total_dir);
|
if(fix6(dir) != fix6(li.total_dir)) printf("totaldir %d/%d\n", dir, li.total_dir);
|
||||||
if(at != li.relative) printf("at %s/%s\n", disp(at), disp(li.relative));
|
if(at != li.relative) printf("at %s/%s\n", disp(at), disp(li.relative));
|
||||||
if(maindir != li.last_dir) printf("ld %d/%d\n", maindir, li.last_dir); */
|
if(maindir != li.last_dir) printf("ld %d/%d\n", maindir, li.last_dir); */
|
||||||
|
Loading…
Reference in New Issue
Block a user