Skip to content

Commit

Permalink
tr2/level: always reset global item count
Browse files Browse the repository at this point in the history
  • Loading branch information
lahm86 committed Nov 15, 2024
1 parent ba773b7 commit f4162df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tr2/game/level.c
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,7 @@ static void __cdecl M_LoadItems(VFILE *const file)
const int32_t num_items = VFile_ReadS32(file);
LOG_DEBUG("items: %d", num_items);
if (!num_items) {
g_LevelItemCount = 0;
goto finish;
}

Expand Down

0 comments on commit f4162df

Please sign in to comment.