fs2open: trunk r10129

Author Committer Branch Timestamp Parent
chief1983 trunk 2013-11-20 02:11 Pending
Affected Issues  0002957: *nix Standalone crash on assertion failure
Changeset Fix 0002957 - FreeBSD RAND_MAX is 0x7ffffffd, not 0x7fffffff, so we can't always assume that it's the latter. Also move the check earlier in the code, if it's going to break at all, break immediately on any non-conforming platform so we can fine tune this some more.
mod - /trunk/fs2_open/code/freespace2/freespace.cpp Diff File
mod - /trunk/fs2_open/code/globalincs/systemvars.cpp Diff File