mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-20 12:50:57 +00:00
updates
Fixed streaming logic to only happen when we are not editing a mission, also some issues with objects that cannot be streamed eg camera, and player. Reverted limits
This commit is contained in:
parent
eecc2bdaee
commit
1fed963d82
5 changed files with 37 additions and 23 deletions
|
|
@ -215,7 +215,7 @@ U32 NetConnection::getSequence()
|
|||
static U32 gPacketRateToServer = 32;
|
||||
static U32 gPacketUpdateDelayToServer = 32;
|
||||
static U32 gPacketRateToClient = 10;
|
||||
static U32 gPacketSize = 1500;
|
||||
static U32 gPacketSize = 508;
|
||||
|
||||
void NetConnection::consoleInit()
|
||||
{
|
||||
|
|
@ -319,7 +319,7 @@ void NetConnection::checkMaxRate()
|
|||
// These changes introduced in T3D 1.1 Preview reduce the packet headroom which leads
|
||||
// to some spells and effects running out of room when dynamic variables are used
|
||||
// to send launch-time parameters to clients.
|
||||
packetSize = 1500;
|
||||
packetSize = 512;
|
||||
}
|
||||
|
||||
gPacketUpdateDelayToServer = 1024 / packetRateToServer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue