diff options
Diffstat (limited to 'src/net/connectionhandler.cpp')
-rw-r--r-- | src/net/connectionhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/connectionhandler.cpp b/src/net/connectionhandler.cpp index d116aa93..f1bcf5ff 100644 --- a/src/net/connectionhandler.cpp +++ b/src/net/connectionhandler.cpp @@ -145,7 +145,7 @@ void ConnectionHandler::process(enet_uint32 timeout) // Reset the peer's client information. computerDisconnected(comp); clients.erase(std::find(clients.begin(), clients.end(), comp)); - event.peer->data = NULL; + event.peer->data = nullptr; } break; default: break; |