Switch ENet errors to Nazara
This commit is contained in:
@@ -224,9 +224,7 @@ namespace Nz
|
|||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
case -1:
|
case -1:
|
||||||
#ifdef ENET_DEBUG
|
NazaraError("Error sending outgoing packets");
|
||||||
perror("Error sending outgoing packets");
|
|
||||||
#endif
|
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
@@ -239,10 +237,7 @@ namespace Nz
|
|||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
case -1:
|
case -1:
|
||||||
#ifdef ENET_DEBUG
|
NazaraError("Error receiving incoming packets");
|
||||||
perror("Error receiving incoming packets");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
@@ -255,9 +250,7 @@ namespace Nz
|
|||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
case -1:
|
case -1:
|
||||||
#ifdef ENET_DEBUG
|
NazaraError("Error sending outgoing packets");
|
||||||
perror("Error sending outgoing packets");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user