Difference for server/alchemy.c from version 1.25 to 1.26


version 1.25 version 1.26
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_alchemy_c =   * static char *rcsid_alchemy_c =
  *   "$Id: alchemy.c,v 1.25 2005/11/16 08:16:08 mwedel Exp $";   *   "$Id: alchemy.c,v 1.26 2006/02/10 23:59:27 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 47
 
Line 47
 #endif  #endif
   
 /** Random cauldrons effects */  /** Random cauldrons effects */
 static char *cauldron_effect [] = {   static const char* const cauldron_effect [] = {
  "vibrates briefly",   "vibrates briefly",
  "produces a cloud of steam",   "produces a cloud of steam",
  "emits bright flames",   "emits bright flames",
Line 70
 
Line 70
   
   
 /** Returns a random selection from cauldron_effect[] */  /** Returns a random selection from cauldron_effect[] */
 char * cauldron_sound ( void ) {  static const char *cauldron_sound(void) {
   int size=sizeof(cauldron_effect)/sizeof(char *);    int size=sizeof(cauldron_effect)/sizeof(char *);
   
   return cauldron_effect[rndm(0, size-1)];     return cauldron_effect[rndm(0, size-1)];


Legend:
line(s) removed in v.1.25 
line(s) changed
 line(s) added in v.1.26

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:21