Closed sago007 closed 7 years ago
No longer crashes on Linux 64 bit.
I did not know why "cg_leiEnhancement 1" caused the game to crash.
Before I started debugging I just ran through tr_particles.c and fixed a lot of warnings. This also fixed my problem. I think the critical part was:
-int reallyactive; +particle_t* reallyactive;
The diff makes it a bit hard but another change was:
else if (p->colortype = P_INDEXED)
to
else if (p->colortype == P_INDEXED)
and:
-vec3_t color; +vec4_t color;
I changed the commit message to match what was written in this pull request.
No longer crashes on Linux 64 bit.
I did not know why "cg_leiEnhancement 1" caused the game to crash.
Before I started debugging I just ran through tr_particles.c and fixed a lot of warnings. This also fixed my problem. I think the critical part was:
The diff makes it a bit hard but another change was:
to
and: