From: DaveG <da...@us...> - 2006-03-22 23:00:07
|
Update of /cvsroot/planeshift/planeshift/src/server In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3101/src/server Modified Files: adminmanager.cpp Log Message: adding default values to weather commands, and changing rain/snow syntax slightly Index: adminmanager.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/server/adminmanager.cpp,v retrieving revision 1.316 retrieving revision 1.317 diff -C2 -d -r1.316 -r1.317 *** adminmanager.cpp 21 Mar 2006 19:22:39 -0000 1.316 --- adminmanager.cpp 22 Mar 2006 23:00:01 -0000 1.317 *************** *** 3505,3509 **** if(msg.sector.GetData() == NULL) { ! psserver->SendSystemError(me->clientnum, "Syntax: /rain sector drops length fade"); return; } --- 3505,3509 ---- if(msg.sector.GetData() == NULL) { ! psserver->SendSystemError(me->clientnum, "Syntax: /rain sector length drops fade"); return; } *************** *** 3526,3530 **** // queue the event psserver->GetWeatherManager()->QueueNextEvent(0, psWeatherMessage::RAIN, ! msg.rainDrops, msg.interval, msg.fade, msg.sector, sectorinfo); } --- 3526,3530 ---- // queue the event psserver->GetWeatherManager()->QueueNextEvent(0, psWeatherMessage::RAIN, ! msg.rainDrops, msg.interval, msg.fade, msg.sector, sectorinfo); } *************** *** 3534,3538 **** if(msg.sector.GetData() == NULL) { ! psserver->SendSystemError(me->clientnum, "Syntax: /snow sector drops length fade"); return; } --- 3534,3538 ---- if(msg.sector.GetData() == NULL) { ! psserver->SendSystemError(me->clientnum, "Syntax: /snow sector length drops fade"); return; } |