[freespace2] basic pointer question

Steven Fuller relnev at icculus.org
Thu Dec 19 20:25:24 EST 2002



I went and looked at the model loading code; looks like the raw data is
interpreted once, but I am not sure if it's actually safe to modify the
data.

>              normcount[n] = SDL_SwapLE16( normcount[n] );

normcount[n] is a byte, so you shouldn't swap it like a short.




More information about the freespace2 mailing list