Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: General Battuta on January 31, 2014, 01:17:03 pm
-
What will this SEXP return if it targets a wing that has never arrived? 0 or something else? (it looks like it's not 0)
-
The switch statement doesn't handle OSWPT_TYPE_WING_NOT_PRESENT, so it will return 0. I think 0 is the correct thing to return, too.
-
I agree. I think my initial assumption that it was !0 was based on a mistaken test case.