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

scrymud at wanfear.com scrymud at wanfear.com
Tue Feb 13 01:19:39 PST 2007


Author: eroper
Date: 2007-02-13 01:19:39 -0800 (Tue, 13 Feb 2007)
New Revision: 878

Modified:
   trunk/mud/grrmud/server/spells.cc
   trunk/mud/grrmud/server/spells.h
Log:
Fixed a problem with a duplicated default argument.


Modified: trunk/mud/grrmud/server/spells.cc
===================================================================
--- trunk/mud/grrmud/server/spells.cc	2007-02-13 09:01:10 UTC (rev 877)
+++ trunk/mud/grrmud/server/spells.cc	2007-02-13 09:19:39 UTC (rev 878)
@@ -306,7 +306,7 @@
 }
 
 
-void rem_effects_crit(int spell_num, critter &pc, short do_msg, int bonus_value=0) {
+void rem_effects_crit(int spell_num, critter &pc, short do_msg, int bonus_value) {
 //TODO: Everything here needs to check for bonus_value and act accordingly.
 //TODO: Moving forward every spell object needs it own wear-off method if applicable
    String buf(100);

Modified: trunk/mud/grrmud/server/spells.h
===================================================================
--- trunk/mud/grrmud/server/spells.h	2007-02-13 09:01:10 UTC (rev 877)
+++ trunk/mud/grrmud/server/spells.h	2007-02-13 09:19:39 UTC (rev 878)
@@ -78,7 +78,7 @@
 
 ///**************   auxillary spell/skill functions   *************///
 
-void rem_effects_crit(int spell_num, critter& pc, short do_msg, int bonus_value);
+void rem_effects_crit(int spell_num, critter& pc, short do_msg, int bonus_value=0);
 void rem_effects_obj(int spell_num, object& obj);
 void rem_effects_room(int spell_num, room& rm, short do_msg);
 void rem_effects_door(int spell_num, door& dr, room& rm1, room& rm2,




More information about the ScryMUD mailing list