[ScryMUD] SVN Commit Info r976 - trunk/mud/grrmud/server

svn-log at scrymud.net svn-log at scrymud.net
Mon Mar 3 13:16:34 PST 2008


Author: kaj
Date: 2008-03-03 13:16:34 -0800 (Mon, 03 Mar 2008)
New Revision: 976

Modified:
   trunk/mud/grrmud/server/commands.cc
Log:
Players no longer see get messages when they are sleeping.



Modified: trunk/mud/grrmud/server/commands.cc
===================================================================
--- trunk/mud/grrmud/server/commands.cc	2008-03-03 20:54:26 UTC (rev 975)
+++ trunk/mud/grrmud/server/commands.cc	2008-03-03 21:16:34 UTC (rev 976)
@@ -3686,7 +3686,7 @@
          show(buf, pc);
    
          while ((crit_ptr = cell.next())) {
-            if (crit_ptr != &pc) {
+            if (crit_ptr != &pc && crit_ptr->POS < POS_SLEEP) {
                Sprintf(buf, cstr(CS_DO_GET_O, *crit_ptr),
                        name_of_crit(pc, crit_ptr->SEE_BIT), 
                        long_name_of_obj(obj, crit_ptr->SEE_BIT));




More information about the ScryMUD mailing list