summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-board/holdingnuts/files/holdingnuts-0.0.5-wheel.patch')
-rw-r--r--games-board/holdingnuts/files/holdingnuts-0.0.5-wheel.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/games-board/holdingnuts/files/holdingnuts-0.0.5-wheel.patch b/games-board/holdingnuts/files/holdingnuts-0.0.5-wheel.patch
deleted file mode 100644
index c5993b64bb8c..000000000000
--- a/games-board/holdingnuts/files/holdingnuts-0.0.5-wheel.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Description: fixed gamelogic bug with wheel-straight: check suit of ace if testing for straight-flush
-Origin: https://sourceforge.net/apps/trac/holdingnuts/changeset/741
---- a/src/libpoker/GameLogic.cpp
-+++ b/src/libpoker/GameLogic.cpp
-@@ -179,7 +179,11 @@
-
- // is an A2345-straight ("wheel")
- if (count == 4 && (last_face == Card::Two && allcards->front().getFace() == Card::Ace))
-- is_straight = true;
-+ {
-+ // check suit when testing for StraightFlush
-+ if (suit == -1 || allcards->front().getSuit() == suit)
-+ is_straight = true;
-+ }
-
- if (is_straight)
- { \ No newline at end of file