[Moeng-cvs] BBRpg/data/scripts Pawn.lua,1.9,1.10
Status: Alpha
Brought to you by:
b_lindeijer
From: <b_l...@us...> - 2004-01-03 21:56:23
|
Update of /cvsroot/moeng/BBRpg/data/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv23984/data/scripts Modified Files: Pawn.lua Log Message: Now samples can always be played even if alogg is not available. Index: Pawn.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/Pawn.lua,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Pawn.lua 3 Jan 2004 21:08:58 -0000 1.9 --- Pawn.lua 3 Jan 2004 21:56:19 -0000 1.10 *************** *** 57,61 **** end ! -- A sample perhapt? if (table.getn(self.hitSounds) > 0) then local sampleFile = self.hitSounds[math.random(table.getn(self.hitSounds))] --- 57,61 ---- end ! -- A scream perhaps? if (table.getn(self.hitSounds) > 0) then local sampleFile = self.hitSounds[math.random(table.getn(self.hitSounds))] |