summaryrefslogtreecommitdiff
path: root/games/xptools/files/patch-DEMDefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'games/xptools/files/patch-DEMDefs.h')
-rw-r--r--games/xptools/files/patch-DEMDefs.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/games/xptools/files/patch-DEMDefs.h b/games/xptools/files/patch-DEMDefs.h
deleted file mode 100644
index 87c2e8eea373..000000000000
--- a/games/xptools/files/patch-DEMDefs.h
+++ /dev/null
@@ -1,37 +0,0 @@
---- src/XESCore/DEMDefs.h.orig 2018-07-15 04:23:17 UTC
-+++ src/XESCore/DEMDefs.h
-@@ -1217,14 +1217,32 @@ inline bool& DEMMask::operator()(int x,
-
- inline bool DEMMask::operator()(int x, int y) const
- {
-- if (x < 0 || x >= mWidth || y < 0 || y >= mHeight) return DEM_NO_DATA;
-+ bool b;
-+// if (x < 0 || x >= mWidth || y < 0 || y >= mHeight) return DEM_NO_DATA;
-+ if (x < 0 || x >= mWidth || y < 0 || y >= mHeight)
-+ {
-+ b=true;
-+ return b;
-+ }
-+ else
-+ {
- return mData[x + y * mWidth];
-+ }
- }
-
- inline bool DEMMask::get(int x, int y) const
- {
-- if (x < 0 || x >= mWidth || y < 0 || y >= mHeight) return DEM_NO_DATA;
-+ bool b;
-+// if (x < 0 || x >= mWidth || y < 0 || y >= mHeight) return DEM_NO_DATA;
-+ if (x < 0 || x >= mWidth || y < 0 || y >= mHeight)
-+ {
-+ b=true;
-+ return b;
-+ }
-+ else
-+ {
- return mData[x + y * mWidth];
-+ }
- }
-
- inline void DEMMask::set(int x, int y, bool v)