diff --git a/src/engine/local_engine/localhand.cpp b/src/engine/local_engine/localhand.cpp index c93dde3a..a94fa9cf 100755 --- a/src/engine/local_engine/localhand.cpp +++ b/src/engine/local_engine/localhand.cpp @@ -81,7 +81,7 @@ LocalHand::LocalHand(boost::shared_ptr f, GuiInterface *g, BoardI // myBestHandPosition auf Fehler ueberpruefen for(j=0; j<5; j++) { if (bestHandPos[j] == -1) { - cout << "ERROR get myBestHandPosition in localhand.cpp" << endl; + cout << "ERROR getMyBestHandPosition in localhand.cpp" << endl; } } diff --git a/src/engine/local_engine/localplayer.cpp b/src/engine/local_engine/localplayer.cpp index ce0f1626..0c0e81cb 100755 --- a/src/engine/local_engine/localplayer.cpp +++ b/src/engine/local_engine/localplayer.cpp @@ -346,6 +346,28 @@ void LocalPlayer::preflopEngine() { case 1: { switch(actualHand->getMyID()) { + case 1: { + myAction = PLAYER_ACTION_CALL; + } + break; + case 2: { + myAction = PLAYER_ACTION_CALL; +// raise = 120; + } + break; + default: { + } + } + + } + break; + case 2: { + + switch(actualHand->getMyID()) { + case 1: { + myAction = PLAYER_ACTION_FOLD; + } + break; case 2: { myAction = PLAYER_ACTION_RAISE; raise = 120; @@ -357,8 +379,6 @@ void LocalPlayer::preflopEngine() { } break; - case 2: { myAction = PLAYER_ACTION_FOLD; } - break; case 3: { myAction = PLAYER_ACTION_FOLD; } break; default: {}