| 3590 | #define MAX_FLUCTUATION_PERCENT 0.08f |
| 3591 | |
| 3592 | void AIDestroyObj(object *obj) { |
| 3593 | ai_frame *ai_info = obj->ai_info; |
| 3594 | |
| 3595 | #ifdef _DEBUG |
| 3596 | if (AI_debug_robot_do && OBJNUM(obj) == AI_debug_robot_index) { |
| 3597 | mprintf(0, "AI Note: In free path\n"); |
| 3598 | } |
| 3599 | #endif |
| 3600 | AIPathFreePath(&ai_info->path); |
| 3601 | } |
| 3602 | |
| 3603 | // Copies AI settings from the object info struct to the object struct |
| 3604 | void ObjSetAIInfo(object *objp) { |
no test coverage detected