Difference for server/spell_effect.c from version 1.155 to 1.156


version 1.155 version 1.156
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_spell_effect_c =   * static char *rcsid_spell_effect_c =
  *   "$Id: spell_effect.c,v 1.155 2006/05/13 05:18:44 qal21 Exp $";   *   "$Id: spell_effect.c,v 1.156 2006/07/14 17:58:09 qal21 Exp $";
  */   */
   
   
Line 901
 
Line 901
   
     /* Check to see if the map the player is currently on is a per player unique      /* Check to see if the map the player is currently on is a per player unique
      * map.  This can be determined in that per player unique maps have the       * map.  This can be determined in that per player unique maps have the
      * full pathname listed.       * full pathname listed. Ignore if settings.create_home_portals is true.
      */       */
       if (!settings.create_home_portals) {
     if (!strncmp(op->map->path, settings.localdir, strlen(settings.localdir))) {      if (!strncmp(op->map->path, settings.localdir, strlen(settings.localdir))) {
  new_draw_info(NDI_UNIQUE | NDI_NAVY, 0,op,"You can't cast that here.\n");   new_draw_info(NDI_UNIQUE | NDI_NAVY, 0,op,"You can't cast that here.\n");
  return 0;   return 0;
     }      }
       }
   
     /* Check to see if the player is on a transport */      /* Check to see if the player is on a transport */
     if (op->contr && op->contr->transport) {      if (op->contr && op->contr->transport) {


Legend:
line(s) removed in v.1.155 
line(s) changed
 line(s) added in v.1.156

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