adds activePlayerList and runningPlayerList (VI)
This commit is contained in:
1 parent
f39a7d393a
commit
96b47972d4
4 files changed
+9
-17
No files matched your search
@@ -969,16 +969,6 @@ void LocalPlayer::action() {
|
||||
|
||||
myTurn = 0;
|
||||
// cout << "jetzt" << endl;
|
||||
|
||||
if(myAction == 1 || myAction == 6) {
|
||||
PlayerListIterator it;
|
||||
for(it=actualHand->getRunningPlayerList()->begin(); it!=actualHand->getRunningPlayerList()->end(); it++) {
|
||||
if((*it)->getMyID() == myID) {
|
||||
(*it).reset();
|
||||
it = actualHand->getRunningPlayerList()->erase(it);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//set that i was the last active player. need this for unhighlighting groupbox
|
||||
actualHand->setLastPlayersTurn(myID);
|
||||
|
||||
Reference in new issue
Block a user