mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-10-01 07:20:41 +00:00
fixed more warnings
This commit is contained in:
parent
e3c24eb731
commit
2c7ab21151
@ -62,7 +62,7 @@ void curveline(hyperpoint a, hyperpoint b, int lev) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool magic_markers(cell *c, const transmatrix& V) {
|
bool magic_markers(cell *c, const transmatrix& V) {
|
||||||
if(vizid != &magic) return false;
|
if(vizid != (void*) &magic) return false;
|
||||||
timerghost = false;
|
timerghost = false;
|
||||||
if(c->landparam == back) {
|
if(c->landparam == back) {
|
||||||
if(GDIM == 2) {
|
if(GDIM == 2) {
|
||||||
@ -133,7 +133,7 @@ void twos_to_fours(vector<int>& zeros, crystal::coord co, int d) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool magic_rotate(cell *c) {
|
bool magic_rotate(cell *c) {
|
||||||
if(vizid != &magic) return false;
|
if(vizid != (void*) &magic) return false;
|
||||||
if(c->landparam != back) return false;
|
if(c->landparam != back) return false;
|
||||||
vector<int> zeros;
|
vector<int> zeros;
|
||||||
auto co = crystal::get_coord(c->master);
|
auto co = crystal::get_coord(c->master);
|
||||||
@ -151,7 +151,7 @@ bool magic_rotate(cell *c) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool magic_rugkey(int sym, int uni) {
|
bool magic_rugkey(int sym, int uni) {
|
||||||
if(vizid != &magic) return false;
|
if(vizid != (void*) &magic) return false;
|
||||||
if((cmode & sm::NORMAL) && uni == 'p') {
|
if((cmode & sm::NORMAL) && uni == 'p') {
|
||||||
rug::texturesize = 4096;
|
rug::texturesize = 4096;
|
||||||
if(rug::rugged) rug::close();
|
if(rug::rugged) rug::close();
|
||||||
|
Loading…
Reference in New Issue
Block a user