JACoders / OpenJK

Community effort to maintain and improve Jedi Academy (SP & MP) + Jedi Outcast (SP only) released by Raven Software
GNU General Public License v2.0
2.01k stars 612 forks source link

Loading savegames causes rendering of wrong colored blades. #580

Closed aFoxNamedMorris closed 10 years ago

aFoxNamedMorris commented 10 years ago

Hiya. 64-bit Linux user, here. I just compiled a new copy of OpenJK yesterday, and I noticed that every time I load my savegames, the saber's color is wrong and seemingly chosen at random. What's odd is that the cvar for the saber color is correct, even when the bug is active, and upon loading a new map, the colors are corrected.

ensiform commented 10 years ago

Already reported but thanks for logging to issue list.

It's not OS specific.

aFoxNamedMorris commented 10 years ago

I figured as much. I only state what OS I'm on as a "just in case" measure. Thank you for the quick reply.

aFoxNamedMorris commented 10 years ago

I almost think the savegame system is not loading the saber color cvars properly. Any luckin finding the exact cause of the issue?

ensiform commented 10 years ago

I'm not even sure if https://github.com/JACoders/OpenJK/commit/705c22011338fdc14ac27e09566739647f921933 is responsible for this or not. I didn't think I changed anything but parsing of the file buffer.

ensiform commented 10 years ago

I'm not very good with the complex git functions like bisect, plus I typically have a dirty working copy so its a pain in the ass to do those things.