Project

General

Profile

« Previous | Next » 

Revision 294b4731

Added by skyjake almost 15 years ago

Fixed a crash with Hexen's "Random" player class.

Evidently the use of the enum type was causing trouble with gcc.
When queried about pClass, gdb indicated that it was "optimized away
by the compiler", even though that clearly shouldn't be done. The
crash occurred because the value of pClass ended up being negative
regardless of the if statement.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences