Refactor almost finished.
This commit is contained in:
@ -109,7 +109,7 @@ void _pokerGameActionBetOnEnd(
|
||||
pokerDiscussionQueue(&discussion);
|
||||
|
||||
pokerBetResetBetter(
|
||||
&game->poker, &game->poker.players, game->poker.roundSmallBlind
|
||||
&game->poker.bet, game->poker.players, game->poker.roundSmallBlind
|
||||
);
|
||||
pokerGameActionRestackAdd(game);
|
||||
pokerGameActionLookAdd(game, game->poker.bet.better);
|
||||
|
@ -7,9 +7,10 @@
|
||||
|
||||
#pragma once
|
||||
#include "../../../libs.h"
|
||||
#include "../../../util/math.h"
|
||||
#include "action.h"
|
||||
#include "../../../display/animation/queue.h"
|
||||
#include "../pokergame.h"
|
||||
#include "../../../display/animation/queue.h"
|
||||
#include "../../../poker/turn.h"
|
||||
#include "../../../poker/bet.h"
|
||||
#include "../../../poker/actions/flop.h"
|
||||
|
@ -42,7 +42,7 @@ void _pokerGameActionRoundOnEnd(queue_t *queue,queueaction_t *action,uint8_t i){
|
||||
// Begin Betting Round. This will queue for one player only and then the round
|
||||
// will take over.
|
||||
pokerBetResetBetter(
|
||||
&game->poker, game->poker.players, game->poker.roundSmallBlind
|
||||
&game->poker.bet, game->poker.players, game->poker.roundSmallBlind
|
||||
);
|
||||
pokerGameActionBetAdd(game);
|
||||
}
|
||||
|
Reference in New Issue
Block a user