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

scrymud at wanfear.com scrymud at wanfear.com
Mon Feb 5 20:03:07 PST 2007


Author: eroper
Date: 2007-02-05 20:03:06 -0800 (Mon, 05 Feb 2007)
New Revision: 860

Modified:
   trunk/mud/grrmud/server/command5.cc
Log:
Fixed some output spacing when using bows/thrown weapons.


Modified: trunk/mud/grrmud/server/command5.cc
===================================================================
--- trunk/mud/grrmud/server/command5.cc	2007-02-05 21:08:09 UTC (rev 859)
+++ trunk/mud/grrmud/server/command5.cc	2007-02-06 04:03:06 UTC (rev 860)
@@ -2934,7 +2934,7 @@
                 << "Short Projectile name:  " << sproj_name << endl;
       }
 
-      Sprintf(buf, "readies %s %S.\n",
+      Sprintf(buf, "readies %s %S.",
               get_his_her(pc), name_of_obj(*(pc.EQ[9]), ~0));
       emote(buf, pc, ROOM, TRUE);
 
@@ -2959,13 +2959,13 @@
          exact_raw_damage(damage, NORMAL, targ);
 
          if (targ.HP > 0) { //still alive
-            Sprintf(buf, "You hit %S with %S.",
+            Sprintf(buf, "You hit %S with %S.\n",
                     name_of_crit(targ, pc.SEE_BIT), &lproj_name);
             show(buf, pc);
             Sprintf(buf, "%S wounds you with %S!\n",
                     name_of_crit(pc, targ.SEE_BIT), &lproj_name);
             show(buf, targ);
-            Sprintf(buf, "staggers as %S's %S hits %s!\n",
+            Sprintf(buf, "staggers as %S's %S hits %s!",
                     name_of_crit(pc, ~0), &sproj_name,
                     get_him_her(targ));
             emote(buf, targ, room_list[targ.getCurRoomNum()], TRUE);
@@ -3122,7 +3122,7 @@
             }
 
             if (targ.HP > 0) { //still alive
-               Sprintf(buf, "You hit %S with your %S.",
+               Sprintf(buf, "You hit %S with your %S.\n",
                        name_of_crit(targ, pc.SEE_BIT), 
                        name_of_obj(*(pc.EQ[posn]), pc.SEE_BIT));
                show(buf, pc);
@@ -3150,7 +3150,7 @@
                        name_of_obj(*(pc.EQ[posn]), ~0), 
                        name_of_crit(targ, pc.SEE_BIT));
                show(buf, pc);
-               Sprintf(buf, "\b's %S sinks deep into %S's chest!\n",
+               Sprintf(buf, "\b's %S sinks deep into %S's chest!",
                        name_of_obj(*(pc.EQ[posn]), ~0), 
                        name_of_crit(targ, ~0));
                emote(buf, pc, room_list[targ.getCurRoomNum()], TRUE);




More information about the ScryMUD mailing list