- Timestamp:
- May 7, 2015, 5:21:45 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/multiplayerFS15/src/libraries/network/LANDiscoverable.cc
r10427 r10434 57 57 void LANDiscoverable::setConfigValues() 58 58 { 59 /* update msaddressstring from orxonox.ini config file, if it59 /* update ownName string from orxonox.ini config file, if it 60 60 * has changed. 61 61 */ 62 SetConfigValueExternal(ownName, " WANDiscovery", "ownName", "tme213");62 SetConfigValueExternal(ownName, "Discovery", "ownName", "tme213"); 63 63 } 64 64 … … 120 120 packet::ServerInformation info; 121 121 info.setServerName(this->ownName); 122 info.setClientNumber(this->clientNumber); 122 123 info.send(event.peer); 123 124 // ENetPacket* packet = enet_packet_create( LAN_DISCOVERY_ACK, strlen(LAN_DISCOVERY_ACK)+1, ENET_PACKET_FLAG_RELIABLE );
Note: See TracChangeset
for help on using the changeset viewer.