fs2open: trunk r10794

Author Committer Branch Timestamp Parent
niffiwan trunk 2014-06-11 04:46 Pending
Changeset Coverity ID 1093586 Negative array index read

Shouldn't be able to occur since when artillery_objnum is set to -1,
artillery_lock_time is also set to 0.0f. BUT, protect the array
access anyway in case the surrounding code changes in future.
mod - /trunk/fs2_open/code/ship/ship.cpp Diff File