MaterialListName not initialized in Sky()
by Tom Spilman · in Torque Game Engine Advanced · 01/26/2007 (1:56 pm) · 1 replies
Ok... simple one.
The mMaterialListName is not initialized in the Sky() constructor. Just add this to Sky::Sky()...
The mMaterialListName is not initialized in the Sky() constructor. Just add this to Sky::Sky()...
mMaterialListName = StringTable->insert("");This was causing us a crash in the dedicated server when a sky had an invalid materialList file specified.About the author
Tom is a programmer and co-owner of Sickhead Games, LLC.
Torque 3D Owner Pat Wilson