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

svn-log at scrymud.net svn-log at scrymud.net
Mon Mar 3 13:36:26 PST 2008


Author: kaj
Date: 2008-03-03 13:36:25 -0800 (Mon, 03 Mar 2008)
New Revision: 977

Modified:
   trunk/mud/grrmud/server/command3.cc
   trunk/mud/grrmud/server/commands.cc
Log:
Gossip and who now shows a player's name, regardless of their VIS_BIT and the viewer's SEE_BIT. 

This fixes MUD-362.



Modified: trunk/mud/grrmud/server/command3.cc
===================================================================
--- trunk/mud/grrmud/server/command3.cc	2008-03-03 21:16:34 UTC (rev 976)
+++ trunk/mud/grrmud/server/command3.cc	2008-03-03 21:36:25 UTC (rev 977)
@@ -2676,7 +2676,7 @@
          buf << "| ";
       }//not cloaked
 
-      const String *tmp_str = ptr->getName(pc.SEE_BIT); //I couldn't get this casted correctly while embedded below
+      const String *tmp_str = ptr->getName(); //I couldn't get this casted correctly while embedded below
       buf << (const char*)(*tmp_str) << (const char*)ptr->short_desc << std::endl;
 
    }//while

Modified: trunk/mud/grrmud/server/commands.cc
===================================================================
--- trunk/mud/grrmud/server/commands.cc	2008-03-03 21:16:34 UTC (rev 976)
+++ trunk/mud/grrmud/server/commands.cc	2008-03-03 21:36:25 UTC (rev 977)
@@ -2205,7 +2205,7 @@
                }
 
                Sprintf(buf, cstr(CS_GOSSIP, *crit_ptr),
-                       &tag, name_of_crit(pc, crit_ptr->SEE_BIT), &msg, &untag);
+                       &tag, pc.getName(), &msg, &untag);
                buf.setCharAt(tag.Strlen() + 1, toupper(buf[tag.Strlen() + 1]));
                crit_ptr->show(buf, HL_GOSSIP); 
             }//if




More information about the ScryMUD mailing list