Skip to content

Commit

Permalink
Use ExMy in Legacy Of Rust
Browse files Browse the repository at this point in the history
More work needed on stuff like map, mapstats, maplist CCMDs, IDCLEV cheat, etc.
  • Loading branch information
bradharding committed Sep 28, 2024
1 parent 8e13df4 commit 5169a6e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/p_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -2926,7 +2926,10 @@ void P_MapName(int ep, int map)
break;

case doom2:
M_snprintf(mapnum, sizeof(mapnum), "MAP%02i", map);
if (legacyofrust)
M_snprintf(mapnum, sizeof(mapnum), "E%iM%i", maptoepisode[map], P_GetMapInEpisode(map));
else
M_snprintf(mapnum, sizeof(mapnum), "MAP%02i", map);

if (*mapinfoname && !BTSX)
M_StringCopy(maptitle, mapinfoname, sizeof(maptitle));
Expand Down

0 comments on commit 5169a6e

Please sign in to comment.