This commit broke wormux, causing it to segfault every time here. The cause is a combination of my rewriting RCL's original version and the fact that some samples don't have a file. It seems to be fine with SDL functions to use NULL samples, though.
Fixed by r4033. yeKcim a écrit : > Done. > > Author: yekcim > Date: Sat Feb 9 00:09:58 2008 > New Revision: 4031 > > URL: http://svn.gna.org/viewcvs/wormux?rev=4031&view=rev > Log: > precaching patch (from RDL) yekcim, did you test before committing? If not, please try next time. Not a big deal though: I should certainly not cast the first stone on such issues... >> Hi there, >> >> this small patch allows to precache the sounds before loading a map (and >> does it properly), so you have no delays even when game starts. Pretty >> simple patch, I think I should have added it to sample cache from the very >> beginning. I'm not sure if you are using a modified tree, but considering that the crash will almost always happen, I suspect you are. Either that or some different, unrelated, occurrence didn't make your version crash like mine during your tests. Could you please submit a patch next time that is against a clean trunk? Best regards, -- Kurosu _______________________________________________ Wormux-dev mailing list Wormux-dev@gna.org https://mail.gna.org/listinfo/wormux-dev