Skip to content

Commit

Permalink
Common: Fix missing last_gametime assignment for drawFFNxLogo on init
Browse files Browse the repository at this point in the history
  • Loading branch information
julianxhokaxhiu committed Feb 5, 2023
1 parent 012dffd commit 0e83b64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3322,6 +3322,8 @@ void drawFFNxLogo(struct game_obj* game_object)
int frame_count = 180;
int fade_frame_count = frame_count / 3;
float fade = 0.0;

qpc_get_time(&last_gametime);
for(int i = 0; i < frame_count; ++i)
{
if(i < fade_frame_count)
Expand Down

0 comments on commit 0e83b64

Please sign in to comment.