[wpdev-commits] wolfpack basechar.cpp,1.139,1.140
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-09-03 16:03:15
|
Update of /cvsroot/wpdev/wolfpack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12523 Modified Files: basechar.cpp Log Message: Fix for bug #0000266 Index: basechar.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/basechar.cpp,v retrieving revision 1.139 retrieving revision 1.140 diff -C2 -d -r1.139 -r1.140 *** basechar.cpp 31 Aug 2004 15:18:25 -0000 1.139 --- basechar.cpp 3 Sep 2004 16:03:04 -0000 1.140 *************** *** 2843,2846 **** --- 2843,2857 ---- } + // Summoned monsters simply disappear + if ( summoned ) + { + soundEffect( 0x1fe ); + pos_.effect( 0x3735, 10, 30 ); + + onDeath( source, 0 ); + remove(); + return true; + } + // Create Loot - Either on the corpse or on the ground cItem::ContainerContent content = backpack->content(); *************** *** 2862,2876 **** } - // Summoned monsters simply disappear - if ( summoned ) - { - soundEffect( 0x1fe ); - pos_.effect( 0x3735, 10, 30 ); - - onDeath( source, 0 ); - remove(); - return true; - } - playDeathSound(); --- 2873,2876 ---- |