commit 867da05dc4708bfc8db3aa647f0d3ed496a1542a
Author: niffiwan <niffiwan.scp@gmail.com>
Date:   Fri May 9 14:39:36 2014 +1000

    Fix mantis 2981
    
    Read & write pilot loop data in the same order

diff --git a/code/pilotfile/csg.cpp b/code/pilotfile/csg.cpp
index 4a93e43..eed2e64 100644
--- a/code/pilotfile/csg.cpp
+++ b/code/pilotfile/csg.cpp
@@ -211,8 +211,8 @@ void pilotfile::csg_write_info()
 	cfwrite_int(Campaign.next_mission, cfp);
 
 	// loop state
-	cfwrite_int(Campaign.loop_enabled, cfp);
 	cfwrite_int(Campaign.loop_reentry, cfp);
+	cfwrite_int(Campaign.loop_enabled, cfp);
 
 	// missions completed
 	cfwrite_int(Campaign.num_missions_completed, cfp);
