summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/inventorywindow.cpp2
-rw-r--r--src/resources/resourcemanager.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp
index ccfb12d8a..0db48cbb8 100644
--- a/src/gui/inventorywindow.cpp
+++ b/src/gui/inventorywindow.cpp
@@ -33,6 +33,7 @@
#include "gui/gui.h"
#include "gui/itemamountwindow.h"
+#include "gui/outfitwindow.h"
#include "gui/setup.h"
#include "gui/sdlinput.h"
#include "gui/shopwindow.h"
@@ -258,7 +259,6 @@ void InventoryWindow::action(const gcn::ActionEvent &event)
{
if (event.getId() == "outfit")
{
- extern Window *outfitWindow;
if (outfitWindow)
{
outfitWindow->setVisible(!outfitWindow->isVisible());
diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp
index 16214661c..0e755edf7 100644
--- a/src/resources/resourcemanager.cpp
+++ b/src/resources/resourcemanager.cpp
@@ -798,7 +798,7 @@ void ResourceManager::delayedLoad()
void ResourceManager::removeDelayLoad(AnimationDelayLoad *delayedLoad)
{
- for(DelayedAnimIter it = mDelayedAnimations.begin(),
+ for (DelayedAnimIter it = mDelayedAnimations.begin(),
it_end = mDelayedAnimations.end(); it != it_end; ++ it)
{
if (*it == delayedLoad)