ru:: removed warning

This commit is contained in:
Zeno Rogue
2026-09-02 22:05:25 +02:00
parent 997467805a
commit ed40b6b437
2 changed files with 6 additions and 2 deletions
-2
View File
@@ -80,7 +80,6 @@ void load_nonhyperbolic() {
if(flip_y == 0 || flip_y == 255) loc.fixed = true;
}
int it = 0;
while(true) {
ld err = 0;
for(int y=0; y<256; y++) for(int x=0; x<256; x++) {
@@ -90,7 +89,6 @@ void load_nonhyperbolic() {
err += abs(pot - loc.potential);
loc.potential = pot;
}
it++;
if(err < 1e-2) break;
}
}
+6
View File
@@ -505,6 +505,12 @@ void add_platf_hooks() {
rogueviz::rv_hook(hooks_drawcell, 90, draw_room_on_map);
rogueviz::rv_change(shot::gamescreen_in_shots, false);
rogueviz::rv_hook(shot::hooks_hqshot, 100, [] {
render_room(current_room);
draw_room();
});
rogueviz::rv_hook(mapstream::hooks_savemap, 100, [] (hstream& f) {
f.write<int>(67);
for(auto& p: rooms) {