From: Andy D. <kha...@us...> - 2005-01-03 20:53:14
|
Update of /cvsroot/planeshift/planeshift/src/client In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18677/client Modified Files: modehandler.cpp Log Message: Fixed night music never being played. Index: modehandler.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/client/modehandler.cpp,v retrieving revision 1.91 retrieving revision 1.92 diff -C2 -d -r1.91 -r1.92 *** modehandler.cpp 2 Jan 2005 21:18:41 -0000 1.91 --- modehandler.cpp 3 Jan 2005 20:53:03 -0000 1.92 *************** *** 427,431 **** { Notify2(LOG_WEATHER, "The time is now %d o'clock.\n",msg.value); ! if ( msg.value >= 22 && msg.value <= 6 ) timeOfDay = TIME_NIGHT; else if ( msg.value >=7 && msg.value <=12 ) --- 427,431 ---- { Notify2(LOG_WEATHER, "The time is now %d o'clock.\n",msg.value); ! if ( msg.value >= 22 || msg.value <= 6 ) timeOfDay = TIME_NIGHT; else if ( msg.value >=7 && msg.value <=12 ) |