aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/agi/picture.cpp6
-rw-r--r--engines/agi/picture.h2
2 files changed, 2 insertions, 6 deletions
diff --git a/engines/agi/picture.cpp b/engines/agi/picture.cpp
index e01e70f3ba..08b69d56ae 100644
--- a/engines/agi/picture.cpp
+++ b/engines/agi/picture.cpp
@@ -25,7 +25,6 @@
#include "agi/agi.h"
#include "agi/graphics.h"
-#include "common/stack.h"
namespace Agi {
@@ -62,11 +61,6 @@ void PictureMgr::putVirtPixel(int x, int y) {
*p = _scrColor | (*p & 0xf0);
}
-// For the flood fill routines
-
-// MH2 needs stack size > 300
-Common::Stack<uint16> _stack;
-
/**
* Draw an AGI line.
* A line drawing routine sent by Joshua Neal, modified by Stuart George
diff --git a/engines/agi/picture.h b/engines/agi/picture.h
index 1d764cd7bd..8604b72d10 100644
--- a/engines/agi/picture.h
+++ b/engines/agi/picture.h
@@ -27,6 +27,7 @@
#define AGI_PICTURE_H
#include "agi/agi.h"
+#include "common/stack.h"
namespace Agi {
@@ -140,6 +141,7 @@ private:
int _flags;
int _currentStep;
+ Common::Stack<uint16> _stack; // For the flood fill routines
};
} // End of namespace Agi