Skip to content
Snippets Groups Projects
Commit 6e666835 authored by TheHresvelgian's avatar TheHresvelgian
Browse files

played against now stores playerIDs instead of pointers to enable saving

parent 34319c89
Branches
No related tags found
No related merge requests found
......@@ -141,7 +141,7 @@ bool Player::hasPlayedAgainst(int id)
for (int i = 0; i < playedAgainst.size(); i++)
{
if (playedAgainst[i]->playerID == id)
if (playedAgainst[i] == id)
{
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment