ActionRet HoldemTournamentAIManual::continueBet(const TableTexture& t, bool debug)
{
	ActionRet ret;
	ret.name="continueBet";
	ret.action=FOLD;
	ret.amt=0;
	
	profile_line(" -- continueBet() -- ");

	bool continueCards=(t.facecards<=1);
	bool noAction=getTotalRaises()==0;
	bool headsUp=table->getPlayersActive()==2;
	bool PFAgg=getAggPlayer(STAGE_PREFLOP)==getAIPlayer();
	bool continuebet=continueCards&&noAction&&PFAgg&&headsUp;

	if (debug) {
		cout << "continuebet: " << continuebet << endl;
		cout << " continue flop: " << continueCards << endl;
		cout << " no action: " << noAction << endl;
		cout << " heads up: " << headsUp << endl;
		cout << " pf bet: " << PFAgg << endl;
		cout << endl;
	}

	if (continuebet) {
		ret.action=BET;
		ret.amt=betPassive();
	}
	return ret;
}