Index: code/missionui/redalert.cpp
===================================================================
--- code/missionui/redalert.cpp	(revision 7733)
+++ code/missionui/redalert.cpp	(working copy)
@@ -618,6 +618,8 @@
 		red_alert_store_subsys_status(&ras, shipp);
 
 		Red_alert_wingman_status.push_back( ras );
+		// niffiwan: trying to track down red alert bug creating HUGE pilot files 
+		Assert( (Red_alert_wingman_status.size() <= MAX_SHIPS) );
 	}
 
 	// store exited ships that did not die
@@ -640,6 +642,8 @@
 			red_alert_store_subsys_status(&ras, NULL);
 
 			Red_alert_wingman_status.push_back( ras );
+			// niffiwan: trying to track down red alert bug creating HUGE pilot files 
+			Assert( (Red_alert_wingman_status.size() <= MAX_SHIPS) );
 		}
 	}
 
