Skip to content

Commit

Permalink
libcommon: Fix URI episode/map number extraction (refactoring regress…
Browse files Browse the repository at this point in the history
…ion)
  • Loading branch information
danij-deng committed Jul 1, 2014
1 parent 5810582 commit b7f37ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doomsday/plugins/common/src/g_game.cpp
Expand Up @@ -2348,7 +2348,7 @@ de::String G_DefaultSavedSessionUserDescription(de::String const &saveName, bool
uint G_EpisodeNumberFor(de::Uri const &mapUri)
{
#if __JDOOM__ || __JHERETIC__
de::String path = mapUri.resolved();
String path = mapUri.path();
if(!path.isEmpty())
{
# if __JDOOM__
Expand All @@ -2370,7 +2370,7 @@ uint G_EpisodeNumberFor(de::Uri const &mapUri)
/// @todo Get this from MAPINFO
uint G_MapNumberFor(de::Uri const &mapUri)
{
de::String path = mapUri.resolved();
String path = mapUri.path();
if(!path.isEmpty())
{
#if __JDOOM__ || __JHERETIC__
Expand Down

0 comments on commit b7f37ba

Please sign in to comment.