small fixes

This commit is contained in:
gmueller 2011-01-25 22:53:57 +01:00
parent 6f0fcc6406
commit 5171a9f42d
2 changed files with 2 additions and 3 deletions

View File

@ -518,7 +518,6 @@ void Network::send(const YAML::Emitter &em) {
void Network::sendMessage(uint8_t *data, size_t length) {
if (client_peer) {
std::cout << data << std::endl;
ENetPacket * packet = enet_packet_create(data, length,
ENET_PACKET_FLAG_RELIABLE);
enet_peer_send(client_peer, 0, packet);