Returns True if given index implies that a goal is finished
| 138 | |
| 139 | // Returns True if given index implies that a goal is finished |
| 140 | static inline bool IsGoalFinishedNotify(int index) { |
| 141 | return (index == AIN_GOAL_COMPLETE || index == AIN_GOAL_INVALID || index == AIN_GOAL_FAIL || index == AIN_GOAL_ERROR); |
| 142 | } |
| 143 | |
| 144 | // Wipes out all goals except slots 0 and 3 (used by Dallas) |
| 145 | void SafeGoalClearAll(int obj_handle) { |