Mark set_robot_state used for debuggers

This commit is contained in:
Kp 2013-10-27 22:43:07 +00:00
parent 0794613705
commit c655e4159a

View file

@ -141,9 +141,10 @@ int robot_get_anim_state(const jointpos **jp_list_ptr,int robot_type,int gun_num
}
#ifndef NDEBUG
//for test, set a robot to a specific state
void set_robot_state(object *obj,int state)
static void set_robot_state(object *obj,int state) __attribute_used;
static void set_robot_state(object *obj,int state)
{
int g,j,jo;
robot_info *ri;
@ -169,6 +170,7 @@ void set_robot_state(object *obj,int state)
}
}
}
#endif
//set the animation angles for this robot. Gun fields of robot info must
//be filled in.