Skip to content

Commit

Permalink
Fixed DOOMII level mess
Browse files Browse the repository at this point in the history
  • Loading branch information
Daivuk committed Oct 16, 2023
1 parent b3da889 commit 06278cd
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 19 deletions.
26 changes: 13 additions & 13 deletions Launcher/APDoomLauncher/Form1.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ap_gen_tool/data/DOOM II.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/archipelago/apdoom.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ extern "C"



#define APDOOM_MAJOR 0
#define APDOOM_MINOR 13
#define APDOOM_PATCH 2
#define APDOOM_MAJOR 1
#define APDOOM_MINOR 0
#define APDOOM_PATCH 1
#define APDOOM_STR(x) APDOOM_STR2(x)
#define APDOOM_STR2(x) #x
#define APDOOM_VERSION APDOOM_STR(APDOOM_MAJOR) "." APDOOM_STR(APDOOM_MINOR) "." APDOOM_STR(APDOOM_PATCH)
Expand Down
5 changes: 3 additions & 2 deletions src/doom/level_select.c
Original file line number Diff line number Diff line change
Expand Up @@ -598,8 +598,9 @@ void DrawEpisodicLevelSelectStats()
for (int i = 0; i < map_count; ++i)
{
const level_pos_t* level_pos = get_level_pos_info(selected_ep, i);
ap_level_info_t* ap_level_info = ap_get_level_info(ap_make_level_index(selected_ep + 1, i + 1));
ap_level_state_t* ap_level_state = ap_get_level_state(ap_make_level_index(selected_ep + 1, i + 1));
ap_level_index_t idx = {selected_ep, i};
ap_level_info_t* ap_level_info = ap_get_level_info(idx);
ap_level_state_t* ap_level_state = ap_get_level_state(idx);

x = level_pos->x;
y = level_pos->y;
Expand Down

0 comments on commit 06278cd

Please sign in to comment.