summaryrefslogtreecommitdiff
path: root/Source/Core/Common/ENet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/ENet.cpp')
-rw-r--r--Source/Core/Common/ENet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/ENet.cpp b/Source/Core/Common/ENet.cpp
index b694eba042..6e27036175 100644
--- a/Source/Core/Common/ENet.cpp
+++ b/Source/Core/Common/ENet.cpp
@@ -31,7 +31,7 @@ int ENET_CALLBACK InterceptCallback(ENetHost* host, ENetEvent* event)
// wakeup packet received
if (host->receivedDataLength == 1 && host->receivedData[0] == 0)
{
- event->type = (ENetEventType)42;
+ event->type = SKIPPABLE_EVENT;
return 1;
}
return 0;