Game Development Community

small bug with sfxplayonce's ConsoleFunction

by addict^2 · in Torque 3D Professional · 04/14/2011 (4:06 pm) · 0 replies

I was having an issue with passing sfxPlayOnce's fade-in time and it's because the maxArgs is wrong. This is with beta 3.

//line 1637 of sfxSystem.cpp
ConsoleFunction( sfxPlayOnce, S32, 2, 6,

should be

ConsoleFunction( sfxPlayOnce, S32, 2, 7,