mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 10:22:48 +01:00
- GetFirstPackedCop to check if region is not loading
This commit is contained in:
parent
1dcb44d4de
commit
e032fae6f8
@ -90,6 +90,10 @@ PACKED_CELL_OBJECT * GetFirstPackedCop(int cellx, int cellz, CELL_ITERATOR *pci,
|
||||
if (NumPlayers == 2)
|
||||
#endif // else do this check always
|
||||
{
|
||||
// [A] don't draw loading region
|
||||
if (loading_region[index] != -1)
|
||||
return NULL;
|
||||
|
||||
if (RoadMapRegions[index] != (cellx / MAP_REGION_SIZE) + (cellz / MAP_REGION_SIZE) * (cells_across / MAP_REGION_SIZE))
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user