aboutsummaryrefslogtreecommitdiff
path: root/src/map.cc
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2026-02-20 23:34:24 -0300
committerfusion32 <marcopuzziello@gmail.com>2026-02-20 23:52:07 -0300
commitb1fd46d8c5e2febf6a6fe61e5aaa2daaeffc3954 (patch)
treebe21cebd0ba2a51a28c9957ed023273b1359dcc5 /src/map.cc
parentb22be90dc86d487d82bafe25057a3feb564b52c4 (diff)
downloadgame-b1fd46d8c5e2febf6a6fe61e5aaa2daaeffc3954.tar.gz
game-b1fd46d8c5e2febf6a6fe61e5aaa2daaeffc3954.zip
modify SearchFlightField to more closely match the original binary
Diffstat (limited to 'src/map.cc')
-rw-r--r--src/map.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/map.cc b/src/map.cc
index c8cfd76..a404c32 100644
--- a/src/map.cc
+++ b/src/map.cc
@@ -682,8 +682,6 @@ void SwapSector(void){
File.writeQuad((uint32)OldestSectorX);
File.writeQuad((uint32)OldestSectorY);
File.writeQuad((uint32)OldestSectorZ);
- // TODO(fusion): I think tiles are stored in column major order but it doesn't
- // really matter as long as optimize for sequential access.
for(int X = 0; X < 32; X += 1){
for(int Y = 0; Y < 32; Y += 1){
SwapObject(&File, Oldest->MapCon[X][Y], FileNumber);