[wpdev-commits] wolfpack/python char.cpp,1.101,1.102
Brought to you by:
rip,
thiagocorrea
|
From: <dar...@us...> - 2003-09-11 15:34:02
|
Update of /cvsroot/wpdev/wolfpack/python In directory sc8-pr-cvs1:/tmp/cvs-serv24987/python Modified Files: char.cpp Log Message: Cleaned up the code alot. Index: char.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/python/char.cpp,v retrieving revision 1.101 retrieving revision 1.102 diff -C2 -d -r1.101 -r1.102 *** char.cpp 3 Sep 2003 14:44:22 -0000 1.101 --- char.cpp 11 Sep 2003 15:33:58 -0000 1.102 *************** *** 257,261 **** } ! playmonstersound( self->pChar, self->pChar->bodyID(), getArgInt( 0 ) ); return PyTrue; } --- 257,266 ---- } ! unsigned char arg = getArgInt( 0 ); ! ! if( arg > cBaseChar::Bark_Death ) ! return PyFalse; ! ! self->pChar->bark( (cBaseChar::enBark)arg ); return PyTrue; } |