Code review comment for lp:~widelands-dev/widelands/terrain_affinity_as_int

Revision history for this message
GunChleoc (gunchleoc) wrote :

Thanks for your math wizardry - I have now implemented both suggestions.

I think that greatly cutting the precision while forcing a uniform rounding strategy (round down) should be good enough for our purposes. Let's merge this and see if we're still getting desyncs. We can always decide to change the formula later if necessary.

@bunnybot merge

« Back to merge proposal