diff options
Diffstat (limited to 'src/renderer/tr_animation.c')
-rw-r--r-- | src/renderer/tr_animation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer/tr_animation.c b/src/renderer/tr_animation.c index 0aa628b5..513fc082 100644 --- a/src/renderer/tr_animation.c +++ b/src/renderer/tr_animation.c @@ -46,7 +46,7 @@ void R_AddAnimSurfaces( trRefEntity_t *ent ) { shader_t *shader; int i; - header = (md4Header_t *) tr.currentModel->md4; + header = (md4Header_t *) tr.currentModel->modelData; lod = (md4LOD_t *)( (byte *)header + header->ofsLODs ); surface = (md4Surface_t *)( (byte *)lod + lod->ofsSurfaces ); |