Skip to content

Commit 43f9a48

Browse files
committed
Get a pointer to the generic_anim.
Whoops.
1 parent c6e79a6 commit 43f9a48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/menuui/mainhallmenu.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1253,7 +1253,7 @@ void main_hall_render_misc_anims(float frametime, bool over_doors)
12531253
// if the timestamp is not -1 and has popped, play the anim and make the timestamp -1
12541254
} else if (timestamp_elapsed(Main_hall->misc_anim_delay.at(idx).at(0))) {
12551255
Main_hall->misc_anim_paused.at(idx) = false;
1256-
generic_anim_reset(Main_hall_misc_anim.at(idx));
1256+
generic_anim_reset(&Main_hall_misc_anim.at(idx));
12571257

12581258
// kill the timestamp
12591259
Main_hall->misc_anim_delay.at(idx).at(0) = -1;

0 commit comments

Comments
 (0)