Fixed canvas scale up over network

This commit is contained in:
Yousef Khadadeh 2026-02-10 16:55:02 +03:00
parent 7e6175da4b
commit dac81495e4
2 changed files with 2 additions and 1 deletions

View file

@ -1,5 +1,5 @@
#include "ScaleUpCanvas.hpp"
WorldScalar get_canvas_scale_up_amount(uint32_t newGridSize, uint32_t oldGridSize) {
return FixedPoint::pow_int(WorldScalar(10000), newGridSize - oldGridSize);
return FixedPoint::pow_int(CANVAS_SCALE_UP_STEP, newGridSize - oldGridSize);
}