now fall in immobile mode
[carveJwlIkooP6JGAAIwe30JlM.git] / player_replay.c
index fc57680b7060349d8355ee6d58f630ab1cdaec04..5237e5f5b5d3451019c83061c3e82e9e976985a5 100644 (file)
@@ -533,13 +533,12 @@ VG_STATIC void skaterift_replay_debug_info(void){
 
    player__debugtext( 1, "head @%u | tail @%u\n", head, tail );
 
-   for( u32 i=0; i<4; i++ ){
-      player__debugtext( 1, "[%u]: [%hu, %hu]\n", i,
-           replay->statehead->data_table[i][0],
-           replay->statehead->data_table[i][1] );
-   }
-
    if( replay->statehead ){
+      for( u32 i=0; i<4; i++ ){
+         player__debugtext( 1, "[%u]: [%hu, %hu]\n", i,
+              replay->statehead->data_table[i][0],
+              replay->statehead->data_table[i][1] );
+      }
       u32 state = (void *)replay->statehead - replay->data;
       player__debugtext( 1, "gs @%u\n", state );
       player__debugtext( 1, "gamestate_size: %hu\n",