Changeset 7d8d5d3 in network-game


Ignore:
Timestamp:
Sep 27, 2013, 4:49:13 PM (11 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
88258c9
Parents:
b48ef09
Message:

Renamed JOIN_GAME_INFO to JOIN_GAME_SUCCESS

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • common/MessageContainer.h

    rb48ef09 r7d8d5d3  
    3535#define MSG_TYPE_LEAVE_GAME        19
    3636#define MSG_TYPE_GAME_INFO         20
    37 #define MSG_TYPE_JOIN_GAME_INFO    21
     37#define MSG_TYPE_JOIN_GAME_SUCCESS 21
    3838#define MSG_TYPE_JOIN_GAME_FAILURE 22
    3939#define MSG_TYPE_JOIN_GAME_ACK     23
  • server/server.cpp

    rb48ef09 r7d8d5d3  
    952952         p->currentGame = g;
    953953
    954          serverMsg.type = MSG_TYPE_JOIN_GAME_INFO;
     954         serverMsg.type = MSG_TYPE_JOIN_GAME_SUCCESS;
    955955         strcpy(serverMsg.buffer, gameName.c_str());
    956956         broadcastResponse = false;
     
    985985         p->currentGame = g;
    986986
    987          serverMsg.type = MSG_TYPE_JOIN_GAME_INFO;
     987         serverMsg.type = MSG_TYPE_JOIN_GAME_SUCCESS;
    988988         strcpy(serverMsg.buffer, gameName.c_str());
    989989         broadcastResponse = false;
Note: See TracChangeset for help on using the changeset viewer.