Changeset 633f42a in network-game for server


Ignore:
Timestamp:
Nov 26, 2012, 8:31:14 PM (12 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
a4db787
Parents:
b13b001
Message:

Fixed a bug related to a player logging out

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/server.cpp

    rb13b001 r633f42a  
    136136            else
    137137            {
    138                vctPlayers.erase(p);
     138               vctPlayers.erase((vector<player>::iterator)p);
    139139               strcpy(serverMsg.buffer, "You have successfully logged out. You may quit the game.");
    140140            }
     141
     142            break;
    141143         }
    142144         case MSG_TYPE_CHAT:
Note: See TracChangeset for help on using the changeset viewer.