Fixed potential segfault in XG which could attempt to dereference a NULL xline_t ptr in an XGTrav_* routine if passed a NULL linedef_t ptr OR if the ptr was to a dummy line (P_ToXLine would fail, returning NULL).Cleaned up.
View differences
Fixed potential segfault in XG which could attempt to dereference a NULL xline_t ptr in an XGTrav_* routine if passed a NULL linedef_t ptr OR if the ptr was to a dummy line (P_ToXLine would fail, returning NULL).
Cleaned up.