fixed some warnings

This commit is contained in:
Zeno Rogue 2020-05-22 15:11:30 +02:00
parent b0d1de01e5
commit e3c24eb731
1 changed files with 1 additions and 2 deletions

View File

@ -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; }
@ -350,7 +350,6 @@ EX void compute_scale() {
void set_gfake(ld _around) {
cgi.require_basics();
fake::scale = scale;
underlying = geometry;
underlying_cgip = cgip;
ginf[gFake] = ginf[underlying];