Game Development Community

TGEA181 enginesourceT3Dplayer.cpp Comented out code question

by Mike Rowley · in Torque Game Engine Advanced · 05/02/2009 (9:04 am) · 2 replies

line 4592

*** Why is this commented out??
               /* 
            default:
               //Hard
               SFX->playOnce(mDataBlock->sound[PlayerData::ImpactHard], &getTransform());
               break;
               */
It was the old alx code. I changed to sfx, but before I tested it out, I wanted to know if anyone knew why it is commented out.

#1
05/02/2009 (3:46 pm)
It's a matter of choice, but personally I'd prefer to not play sound if we're not sure which sound to play instead of defaulting to what will probably be the most obnoxious sound.

According to the svn log, it's always been commented out, so... ya.
#2
05/02/2009 (6:05 pm)
Thanks Alex. That explains it. :-)
I have to agree with you as well.