[CF-Devel] bugfix:stat pumping spell messages

crossfire-devel at archives.real-time.com crossfire-devel at archives.real-time.com
Wed Mar 10 17:23:38 CST 2004


Mini patch to fix the failure messages for the stat improvement spells
e.g. "dexterity".
-------------- next part --------------
Index: server/spell_effect.c
===================================================================
RCS file: /cvsroot/crossfire/crossfire/server/spell_effect.c,v
retrieving revision 1.115
diff -c -r1.115 spell_effect.c
*** server/spell_effect.c	6 Mar 2004 08:32:39 -0000	1.115
--- server/spell_effect.c	10 Mar 2004 22:51:09 -0000
***************
*** 1479,1485 ****
  		}
  		set_attr_value(&force->stats, i, sm);
  		if (!sm)
! 		    new_draw_info(NDI_UNIQUE, 0,op,no_gain_msgs[stat]);
  	    }
  	}
      }
--- 1479,1485 ----
  		}
  		set_attr_value(&force->stats, i, sm);
  		if (!sm)
! 		    new_draw_info(NDI_UNIQUE, 0,op,no_gain_msgs[i]);
  	    }
  	}
      }
-------------- next part --------------
_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list