[wpdev-commits] xmlscripts/scripts/speech banker.py,1.14,1.15
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-10-12 10:43:37
|
Update of /cvsroot/wpdev/xmlscripts/scripts/speech In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27441/speech Modified Files: banker.py Log Message: Fixes Index: banker.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/speech/banker.py,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** banker.py 8 Oct 2004 01:14:16 -0000 1.14 --- banker.py 12 Oct 2004 10:43:28 -0000 1.15 *************** *** 62,71 **** while amount > 0: ! item = wolfpack.additem( "eed" ) item.amount = min( [ amount, 65535 ] ) ! item.container = backpack ! ! amount -= min( [ amount, 65535 ] ) ! speaker.soundeffect( 0x37, 0 ) --- 62,72 ---- while amount > 0: ! item = wolfpack.additem("eed") item.amount = min( [ amount, 65535 ] ) ! amount -= item.amount ! ! if not wolfpack.utilities.tocontainer(item, backpack): ! item.update() ! speaker.soundeffect( 0x37, 0 ) |