Changeset 594d2e9 in network-game for server


Ignore:
Timestamp:
Jan 1, 2013, 12:32:30 AM (12 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
88cdae2
Parents:
11402be
Message:

When a user logs in, the server sends a message with the player info for that user

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/server.cpp

    r11402be r594d2e9  
    216216            mapPlayers[unusedId] = *p;
    217217
    218             strcpy(serverMsg.buffer, "Login successful. Enjoy chatting with other players.");
     218            // sendd back the new player info to the user
     219            p->serialize(serverMsg.buffer);
    219220         }
    220221
Note: See TracChangeset for help on using the changeset viewer.