mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
Merge pull request #547 from asmaloney/fix_potential_crashes
Fix potential crashes
This commit is contained in:
commit
835649aa2f
3 changed files with 6 additions and 6 deletions
|
|
@ -3303,9 +3303,9 @@ void ShapeBase::unpackUpdate(NetConnection *con, BitStream *stream)
|
|||
image.triggerDown = stream->readFlag();
|
||||
image.altTriggerDown = stream->readFlag();
|
||||
|
||||
for (U32 i=0; i<ShapeBaseImageData::MaxGenericTriggers; ++i)
|
||||
for (U32 j=0; j<ShapeBaseImageData::MaxGenericTriggers; ++j)
|
||||
{
|
||||
image.genericTrigger[i] = stream->readFlag();
|
||||
image.genericTrigger[j] = stream->readFlag();
|
||||
}
|
||||
|
||||
int count = stream->readInt(3);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue