summaryrefslogtreecommitdiff
path: root/devel/obby/files/patch-src__colour.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'devel/obby/files/patch-src__colour.cpp')
-rw-r--r--devel/obby/files/patch-src__colour.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/devel/obby/files/patch-src__colour.cpp b/devel/obby/files/patch-src__colour.cpp
deleted file mode 100644
index fc7550f82099..000000000000
--- a/devel/obby/files/patch-src__colour.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
---- src/colour.cpp.orig 2011-10-30 15:52:53 UTC
-+++ src/colour.cpp
-@@ -47,9 +47,9 @@ unsigned int obby::colour::get_blue() co
- bool obby::colour::similar_colour(const colour& colour) const
- {
- // TODO: Convert to HSV for better checking
-- return abs(m_red - colour.m_red) +
-- abs(m_green - colour.m_green) +
-- abs(m_blue - colour.m_blue) < 32;
-+ return abs((int)(m_red - colour.m_red)) +
-+ abs((int)(m_green - colour.m_green)) +
-+ abs((int)(m_blue - colour.m_blue)) < 32;
- }
-
- std::string serialise::default_context_to<obby::colour>::