Add function for choosing random gridno in an unloaded sector

This commit is contained in:
Asdow
2026-06-15 22:01:07 +03:00
parent 0cc7fb4e39
commit 9e0105caec
2 changed files with 65 additions and 1 deletions
+1
View File
@@ -113,6 +113,7 @@ BOOLEAN FindFenceJumpDirection( SOLDIERTYPE *pSoldier, INT32 sGridNo, INT8 bStar
//Simply chooses a random gridno within valid boundaries (for dropping things in unloaded sectors)
INT32 RandomGridNo();
INT32 RandomGridNoUnloadedSector(INT32 worldRows, INT32 worldCols);
extern UINT32 guiForceRefreshMousePositionCalculation;