* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * VRC-7
+ *
*/
#include "mapinc.h"
{
int32 z,a;
- //if(FSettings.soundq>=1) return;
+ if(FSettings.soundq>=1) return;
z=((SOUNDTS<<16)/soundtsinc)>>4;
a=z-dwave;
- moocow(VRC7Sound, (int32 *)&Wave[dwave], a, 1);
+ moocow(VRC7Sound, &Wave[dwave], a, 1);
dwave+=a;
}
a=z-dwave;
if(VRC7Sound && a)
- moocow(VRC7Sound, (int32 *)&Wave[dwave], a, 1);
+ moocow(VRC7Sound, &Wave[dwave], a, 1);
dwave=0;
}