Re: A problem with sound positioning
Well, a divide by zero error only crops up when you divide X by 0, not when you divide 0 by X. So in that example it seems like the only point at which it could happen because the if statement allows the second variable, temp2, to be zero when allowing a division calculation. To prevent that you either make sure temp2 never reaches zero, or you remove the equal sign in the if statement to prevent it from passing a zero.
_______________________________________________ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector