mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
fixed some warnings
This commit is contained in:
parent
b0d1de01e5
commit
e3c24eb731
3
fake.cpp
3
fake.cpp
@ -188,7 +188,7 @@ EX namespace fake {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
EX hrmap* new_map() { return new hrmap_fake; };
|
EX hrmap* new_map() { return new hrmap_fake; }
|
||||||
|
|
||||||
EX hrmap* get_umap() { if(!dynamic_cast<hrmap_fake*>(currentmap)) return nullptr; else return ((hrmap_fake*)currentmap)->underlying_map; }
|
EX hrmap* get_umap() { if(!dynamic_cast<hrmap_fake*>(currentmap)) return nullptr; else return ((hrmap_fake*)currentmap)->underlying_map; }
|
||||||
|
|
||||||
@ -350,7 +350,6 @@ EX void compute_scale() {
|
|||||||
|
|
||||||
void set_gfake(ld _around) {
|
void set_gfake(ld _around) {
|
||||||
cgi.require_basics();
|
cgi.require_basics();
|
||||||
fake::scale = scale;
|
|
||||||
underlying = geometry;
|
underlying = geometry;
|
||||||
underlying_cgip = cgip;
|
underlying_cgip = cgip;
|
||||||
ginf[gFake] = ginf[underlying];
|
ginf[gFake] = ginf[underlying];
|
||||||
|
Loading…
Reference in New Issue
Block a user