@@ -2774,7 +2774,7 @@ df_trap_net_from_thread__step_over_inst(Arena *arena, DF_Entity *thread)
27742774internal B32
27752775df_advance_current_snapshot (Arena * arena , DF_CmdList * cmds , DF_Entity * thread )
27762776{
2777- for (DF_Entity * child = thread -> first ; !df_entity_is_nil (child ); child = child -> next )
2777+ for (DF_Entity * child = thread -> first ; !df_entity_is_nil (child ); child = child -> next )
27782778 {
27792779 if (child -> kind == DF_EntityKind_Snapshot && child -> b32 == 1 )
27802780 {
@@ -2803,7 +2803,6 @@ df_thread_snapshot(DF_Entity *thread)
28032803 return ;
28042804 }
28052805
2806- DF_Entity * prev = thread -> last ;
28072806 DF_Entity * snapshot = df_entity_alloc (0 , thread , DF_EntityKind_Snapshot );
28082807 df_entity_equip_ctrl_machine_id (snapshot , thread -> ctrl_machine_id );
28092808 df_entity_equip_ctrl_handle (snapshot , snapshot_handle );
@@ -6144,7 +6143,8 @@ df_hash_current_thread_snapshot(DF_Entity *thread, U32 *active_snapshot_index)
61446143 DF_Handle handle = df_handle_from_entity (thread );
61456144 U64 hash = df_hash_from_string (str8_struct (& handle ));
61466145 * active_snapshot_index = 0 ;
6147- for (DF_Entity * child = thread -> first ; !df_entity_is_nil (child ); child = child -> next ) {
6146+ for (DF_Entity * child = thread -> first ; !df_entity_is_nil (child ); child = child -> next )
6147+ {
61486148 if (child -> kind == DF_EntityKind_Snapshot && child -> b32 ) {
61496149 break ;
61506150 }
@@ -7125,7 +7125,7 @@ df_core_begin_frame(Arena *arena, DF_CmdList *cmds, F32 dt)
71257125 for (DF_EntityNode * n = threads .first ; n != 0 ; n = n -> next )
71267126 {
71277127 DF_Entity * thread = n -> entity ;
7128- for (DF_Entity * child = thread -> first ; !df_entity_is_nil (child ); child = child -> next )
7128+ for (DF_Entity * child = thread -> first ; !df_entity_is_nil (child ); child = child -> next )
71297129 {
71307130 if (child -> kind == DF_EntityKind_Snapshot )
71317131 {
0 commit comments