diff options
author | Simon Howard | 2014-11-27 15:28:58 -0500 |
---|---|---|
committer | Simon Howard | 2014-11-27 15:28:58 -0500 |
commit | 5eeef20d70fc978372058371d29821dc27b019a5 (patch) | |
tree | 0d9478aedd9e0f3ada6a2f86395a64c824b53ffd /src/heretic/r_main.c | |
parent | 3e70ef4cf909ba4254258e176f92ab6c931993cb (diff) | |
download | chocolate-doom-5eeef20d70fc978372058371d29821dc27b019a5.tar.gz chocolate-doom-5eeef20d70fc978372058371d29821dc27b019a5.tar.bz2 chocolate-doom-5eeef20d70fc978372058371d29821dc27b019a5.zip |
hexen: Store minotaur start time as little endian.
The minotaur uses the first four bytes of the mobj_t args[] array to
store its spawn time; after a certain amount of time has passed the
minotaur self-destructs. But the level time was being copied from the
leveltime variable without any endian conversion taking place. For
compatibility with Vanilla Hexen savegames we need to store the start
time in little endian format.
This fixes the first issue noted in #477 (thanks Quasar).
Diffstat (limited to 'src/heretic/r_main.c')
0 files changed, 0 insertions, 0 deletions