Difference for server/plugins.c from version 1.41 to 1.42


version 1.41 version 1.42
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_plugins_c =   * static char *rcsid_plugins_c =
  *   "$Id: plugins.c,v 1.41 2005/09/04 16:58:13 akirschbaum Exp $";   *   "$Id: plugins.c,v 1.42 2005/09/30 19:14:32 ryo_saeba Exp $";
  */   */
   
 /*****************************************************************************/  /*****************************************************************************/
Line 1347
 
Line 1347
     object* who;      object* who;
     CFParm* CFP=(CFParm*)malloc(sizeof (CFParm));      CFParm* CFP=(CFParm*)malloc(sizeof (CFParm));
     static int result;      static int result;
       object* env;
   
     who = ( object* )PParm->Value[ 0 ];      who = ( object* )PParm->Value[ 0 ];
     map = ( mapstruct* )PParm->Value[ 1 ];      map = ( mapstruct* )PParm->Value[ 1 ];
     x = *( int* )PParm->Value[ 2 ];      x = *( int* )PParm->Value[ 2 ];
     y = *( int* )PParm->Value[ 3 ];      y = *( int* )PParm->Value[ 3 ];
       env = who->env;
   
     CFP->Value[ 0 ] = (void *)&result;      CFP->Value[ 0 ] = (void *)&result;
     if ( ( out_of_map( map,x,y ) ) == 0 )      if ( ( out_of_map( map,x,y ) ) == 0 )
Line 1373
 
Line 1375
   
         insert_ob_in_map( who, map, NULL, 0 );          insert_ob_in_map( who, map, NULL, 0 );
         result = 0;          result = 0;
           if ( env->type == PLAYER && env->contr )
               esrv_del_item(env->contr,who->count);
     };      };
   
     return CFP;      return CFP;


Legend:
line(s) removed in v.1.41 
line(s) changed
 line(s) added in v.1.42

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