fix explosions breaking old replays

This commit is contained in:
2025-01-16 15:28:06 -06:00
parent afa79bcc5d
commit df02f79ab8
7 changed files with 31 additions and 9 deletions

View File

@@ -25,7 +25,8 @@ using std::abs;
extern std::mt19937 game_rand;
short get_ran(short times, short min, short max);
// unique_ran: pass true for get_ran() calls that would break replay compatibility
short get_ran(short times, short min, short max, bool use_unique_ran = false);
short max(short a,short b);
short min(short a,short b);
short minmax(short min,short max,short k);