You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix some issues preventing various secondary types from firing in the lab
* Add ability to fire turrets from the lab
* const char*, mjn please
* more cleanup
* range-based for loop
* Update comment
Copy file name to clipboardExpand all lines: code/ai/ai.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -318,7 +318,7 @@ typedef struct ai_info {
318
318
//Unlike the predicted position stuff, also takes into account velocity
319
319
//Only used against small ships
320
320
fix next_aim_pos_time;
321
-
vec3d last_aim_enemy_pos;
321
+
vec3d last_aim_enemy_pos;// Normally this is the position of the enemy a turret is targeting but in the F3 Lab, this is used to pass raw target coordinates to the turret firing methods.
Warning( LOCATION, "Turret %s on ship %s has no firing points assigned to it.\nThis needs to be fixed in the model.\n", psub->name, shipp->ship_name );
0 commit comments