Fixed canvas scale up over network
This commit is contained in:
parent
7e6175da4b
commit
dac81495e4
2 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue