Changeset 1960 for code/branches/objecthierarchy/src/network/packet
- Timestamp:
- Oct 19, 2008, 11:53:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/network/packet/Packet.cc
r1952 r1960 135 135 Packet *Packet::createPacket(ENetPacket *packet, ENetPeer *peer){ 136 136 uint8_t *data = packet->data; 137 assert(ClientInformation::findClient(&peer->address)->getID() !=-2 || !Host::isServer());137 assert(ClientInformation::findClient(&peer->address)->getID() != (unsigned int)-2 || !Host::isServer()); 138 138 unsigned int clientID = ClientInformation::findClient(&peer->address)->getID(); 139 139 Packet *p;
Note: See TracChangeset
for help on using the changeset viewer.