From: Ondrej H. <tan...@us...> - 2004-10-29 20:50:19
|
Update of /cvsroot/planeshift/planeshift/src/client In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15186/src/client Modified Files: cmdusers.cpp Log Message: - When you type /greet while being dead, greet anim is not played at your client now. Index: cmdusers.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/client/cmdusers.cpp,v retrieving revision 1.70 retrieving revision 1.71 diff -C2 -d -r1.70 -r1.71 *** cmdusers.cpp 27 Oct 2004 16:07:46 -0000 1.70 --- cmdusers.cpp 29 Oct 2004 20:50:06 -0000 1.71 *************** *** 38,41 **** --- 38,42 ---- #include "engine/netpersist.h" #include "util/strutil.h" + #include "modehandler.h" *************** *** 317,322 **** if (words[0] == "/greet") ! { ! psengine->SetAnimation("greet"); } --- 318,324 ---- if (words[0] == "/greet") ! { ! if (psengine->GetModeHandler()->GetMode() != psModeMessage::DEAD) ! psengine->SetAnimation("greet"); } |