Index: code/renderer/iqm.h =================================================================== --- code/renderer/iqm.h (revision 2016) +++ code/renderer/iqm.h (working copy) @@ -22,7 +22,7 @@ #define __IQM_H__ #define IQM_MAGIC "INTERQUAKEMODEL" -#define IQM_VERSION 1 +#define IQM_VERSION 2 #define IQM_MAX_JOINTS 128 @@ -86,15 +86,15 @@ { unsigned int name; int parent; - float translate[3], rotate[3], scale[3]; + float translate[3], rotate[4], scale[3]; } iqmJoint_t; typedef struct iqmpose { int parent; unsigned int mask; - float channeloffset[9]; - float channelscale[9]; + float channeloffset[10]; + float channelscale[10]; } iqmPose_t; typedef struct iqmanim Index: code/renderer/tr_model_iqm.c =================================================================== --- code/renderer/tr_model_iqm.c (revision 2016) +++ code/renderer/tr_model_iqm.c (working copy) @@ -726,7 +726,7 @@ int R_ComputeIQMFogNum( iqmData_t *data, trRefEntity_t *ent ) { int i, j; fog_t *fog; - vec_t *bounds; + const vec_t *bounds; const vec_t defaultBounds[6] = { -8, -8, -8, 8, 8, 8 }; vec3_t diag, center; vec3_t localOrigin;