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

scrymud at wanfear.com scrymud at wanfear.com
Sat Mar 3 18:42:28 PST 2007


Author: eroper
Date: 2007-03-03 18:42:28 -0800 (Sat, 03 Mar 2007)
New Revision: 911

Modified:
   trunk/mud/grrmud/server/command2.cc
Log:
Fixed a problem where the score command was not properly displaying the names
of those you were fighting/following/etc.


Modified: trunk/mud/grrmud/server/command2.cc
===================================================================
--- trunk/mud/grrmud/server/command2.cc	2007-03-04 02:15:39 UTC (rev 910)
+++ trunk/mud/grrmud/server/command2.cc	2007-03-04 02:42:28 UTC (rev 911)
@@ -355,20 +355,20 @@
 
    if (pc.FOLLOWER_OF) {
       buf << "You are following "
-          << (const char*)(name_of_crit(*(pc.FOLLOWER_OF), pc.getSeeBit()))
+          << (const char*)(*(name_of_crit(*(pc.FOLLOWER_OF), pc.getSeeBit())))
           << "." << endl;
 
    }//if
 
    if (pc.MASTER) {
       buf << "Your master is "
-          << (const char*)(name_of_crit(*(pc.MASTER), pc.getSeeBit()))
+          << (const char*)(*(name_of_crit(*(pc.MASTER), pc.getSeeBit())))
           << "." << endl;
    }//if
 
    if (!pc.IS_FIGHTING.isEmpty()) {
       buf << "You are fighting "
-          << (const char*)(name_of_crit(*(pc.IS_FIGHTING.peekFront()), pc.getSeeBit()))
+          << (const char*)(*(name_of_crit(*(pc.IS_FIGHTING.peekFront()), pc.getSeeBit())))
           << "." << endl;
    }//if
 




More information about the ScryMUD mailing list