mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-12-27 14:00:35 +00:00
added INITSTRUCT to zero-out data
This commit is contained in:
@@ -52,7 +52,7 @@ void CNShardServer::onTimer() {
|
||||
}
|
||||
|
||||
// passed the heartbeat, send another
|
||||
sP_FE2CL_REQ_LIVE_CHECK data;
|
||||
INITSTRUCT(sP_FE2CL_REQ_LIVE_CHECK, data);
|
||||
pair.first->sendPacket((void*)&data, P_FE2CL_REQ_LIVE_CHECK, sizeof(sP_FE2CL_REQ_LIVE_CHECK));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user