Too deep recursion.错误请教

用v2017驱动后,提示这个错误

Too deep recursion.

program: /d/pantao/npc/tian6.c, object: /d/pantao/npc/tian6#2528497, file: /d/pantao/npc/tian.h:52

这个文件我比对别的lib一模一样的,请教怎么修复?

43      void reset_me (object me) 

44      { 

45        int i; 

46        object *inv; 

47        mapping skill_status, map_status; 

48        string *skillnames, *mapnames; 
49           
50        reset_eval_cost(); 
51       
52        if ( mapp(map_status = me->query_skill_map()) ) 

53        { 

54          mapnames = keys(map_status); 

55              for(i=0; i<sizeof(mapnames); i++) 

56          { 
57            me->map_skill(mapnames[i]); 
58          } 
59        } 
60       
61        if ( mapp(skill_status = me->query_skills()) ) 

62        { 
63          skillnames = keys(skill_status); 

64              for(i=0; i<sizeof(skillnames); i++)   

65          { 
66            me->delete_skill(skillnames[i]); 

67          } 
68        } 
69       
70        inv = all_inventory(me); 

71        for(i=0; i<sizeof(inv); i++) 

72        { 
73          destruct (inv[i]); 
74        } 
75       
76        me->set_name(get_honor_str(), ({ "tian shen", "shen", "tian" }) ); 
77        me->set("title", get_respect_str()); 
78        me->set("gender", "男性" );
京ICP备13031296号-4