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

svn-log at scrymud.net svn-log at scrymud.net
Mon Oct 15 01:10:26 PDT 2007


Author: eroper
Date: 2007-10-15 01:10:26 -0700 (Mon, 15 Oct 2007)
New Revision: 962

Modified:
   trunk/mud/grrmud/server/misc.cc
Log:
Bind Wounds will no longer cause a segfault.


Modified: trunk/mud/grrmud/server/misc.cc
===================================================================
--- trunk/mud/grrmud/server/misc.cc	2007-07-21 03:45:40 UTC (rev 961)
+++ trunk/mud/grrmud/server/misc.cc	2007-10-15 08:10:26 UTC (rev 962)
@@ -579,8 +579,8 @@
          stat_spell_cell* ssptr = 
             is_affected_by(BIND_WOUND_SKILL_NUM, *crit_ptr);
          if (ssptr) {
+            rem_effects_crit(BIND_WOUND_SKILL_NUM, *crit_ptr, TRUE);
             crit_ptr->affected_by.loseData(ssptr);
-            rem_effects_crit(BIND_WOUND_SKILL_NUM, *crit_ptr, TRUE);
         }
       }//if
    }//while
@@ -637,8 +637,8 @@
          stat_spell_cell* ssptr = 
             is_affected_by(BIND_WOUND_SKILL_NUM, *crit_ptr);
          if (ssptr) {
+            rem_effects_crit(BIND_WOUND_SKILL_NUM, *crit_ptr, TRUE);
             crit_ptr->affected_by.loseData(ssptr);
-            rem_effects_crit(BIND_WOUND_SKILL_NUM, *crit_ptr, TRUE);
          }
       }//if
    }//while




More information about the ScryMUD mailing list