Fixed include

This commit is contained in:
2021-10-11 10:26:57 -07:00
parent 26d28d6f55
commit 6043130012
2 changed files with 11 additions and 10 deletions

View File

@ -12,6 +12,7 @@
#include "restack.h"
#include "winner.h"
#include "bet.h"
#include "../../poker/actions/flop.h"
/** Callback that is fired when the flop action starts */
void _pokerGameActionFlopOnStart(

View File

@ -57,19 +57,19 @@ queueaction_t * pokerActionRiverAdd(queue_t *queue, poker_t *poker) {
}
queueaction_t * pokerActionNextFlopAdd(queue_t *queue, poker_t *poker) {
// switch(poker->dealer.cardsFacing) {
// case 0:
// return pokerActionFlopAdd(queue, poker);
switch(poker->communitySize) {
case 0:
return pokerActionFlopAdd(queue, poker);
// case POKER_FLOP_CARD_COUNT:
// return pokerActionTurnAdd(queue, poker);
case POKER_FLOP_CARD_COUNT:
return pokerActionTurnAdd(queue, poker);
// case POKER_FLOP_CARD_COUNT+POKER_TURN_CARD_COUNT:
// return pokerActionRiverAdd(queue, poker);
case POKER_FLOP_CARD_COUNT+POKER_TURN_CARD_COUNT:
return pokerActionRiverAdd(queue, poker);
// default:
// return NULL;
// }
default:
return NULL;
}
return NULL;
}