GarageGames/Torque3D — pull request #839 by eightyeight (2014-10-19 03:31:51+00:00)
Title: Some engine fixes

Fix initializing return buffer.
Fix possible array overrun.
Remove unneeded double-initialization of the vars.

This is #834 rebased onto the correct branch.