1 Description: fixed gamelogic bug with wheel-straight: check suit of ace if testing for straight-flush
2 Origin: https://sourceforge.net/apps/trac/holdingnuts/changeset/741
3 --- a/src/libpoker/GameLogic.cpp
4 +++ b/src/libpoker/GameLogic.cpp
7 // is an A2345-straight ("wheel")
8 if (count == 4 && (last_face == Card::Two && allcards->front().getFace() == Card::Ace))
11 + // check suit when testing for StraightFlush
12 + if (suit == -1 || allcards->front().getSuit() == suit)