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