Fixed include
This commit is contained in:
@ -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(
|
||||
|
@ -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;
|
||||
}
|
Reference in New Issue
Block a user