Hi! What should I do to use “cent->currentState.density” in CG_DrawWeapRecharge in cg_draw.c. I tried to add this line on the begin of the function:
centity_t *cent;
but the compiler returns that “cent” variable is uninitialized. So help me to correct pass this variable to the function. I looked for another funcs which use currentState.density and they have got centity_t *cent in () only. But I can’t do that way because I’d have to change a tons of code.
Sorry for my quite basic questions, but I got a lots of ideas and could’t solve some of them myself. However my C++ skill rises. 
Greetings!

