Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Cleanup|Fixed: Added missing includes
  • Loading branch information
skyjake committed Jan 22, 2016
1 parent 99419ba commit 791cb87
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
9 changes: 3 additions & 6 deletions doomsday/apps/client/src/dd_main.cpp
Expand Up @@ -1116,11 +1116,10 @@ Game &App_CurrentGame()
/// @todo => DoomsdayApp::changeGame()
bool App_ChangeGame(Game &game, bool allowReload)
{
bool isReload = false;

// Ignore attempts to re-load the current game?
// Ignore attempts to reload the current game?
if(&App_CurrentGame() == &game)
{
// We are reloading.
if(!allowReload)
{
if(App_GameLoaded())
Expand All @@ -1129,11 +1128,9 @@ bool App_ChangeGame(Game &game, bool allowReload)
}
return true;
}
// We are re-loading.
isReload = true;
}

// The current game now be unloaded.
// The current game will now be unloaded.
DENG2_FOR_EACH_OBSERVER(DoomsdayApp::GameUnloadAudience, i,
DoomsdayApp::app().audienceForGameUnload())
{
Expand Down
2 changes: 2 additions & 0 deletions doomsday/apps/plugins/doom/src/p_setup.c
Expand Up @@ -20,6 +20,8 @@

#include "jdoom.h"

#include <doomsday/world/entitydef.h>

/**
* Called during pre-init.
* Register the map object data types we want to Doomsday to make public via
Expand Down
2 changes: 2 additions & 0 deletions doomsday/apps/plugins/doom64/src/p_setup.c
Expand Up @@ -20,6 +20,8 @@

#include "jdoom64.h"

#include <doomsday/world/entitydef.h>

/**
* Called during pre-init.
* Register the map object data types we want to Doomsday to make public via
Expand Down

0 comments on commit 791cb87

Please sign in to comment.