diff options
author | Zack Middleton <zturtleman@gmail.com> | 2013-03-06 17:52:06 -0600 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-03-19 16:41:16 +0000 |
commit | b2f0eb27e22e7e828c31629be5d05b00f2f69e83 (patch) | |
tree | 176d0c223e83015ef9ad49222a0843ac52936469 /src/renderergl2 | |
parent | fce0ca3b4636f55f83f03fe8f612e3dd1c4120fa (diff) |
Fix RAVENMD4 warnings in OpenGL2
Diffstat (limited to 'src/renderergl2')
-rw-r--r-- | src/renderergl2/tr_model.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/renderergl2/tr_model.c b/src/renderergl2/tr_model.c index 0597e868..0884619b 100644 --- a/src/renderergl2/tr_model.c +++ b/src/renderergl2/tr_model.c @@ -1404,7 +1404,7 @@ static mdvTag_t *R_GetTag( mdvModel_t *mod, int frame, const char *_tagName ) { } #ifdef RAVENMD4 -void R_GetAnimTag( mdrHeader_t *mod, int framenum, const char *tagName, md3Tag_t * dest) +void R_GetAnimTag( mdrHeader_t *mod, int framenum, const char *tagName, mdvTag_t * dest) { int i, j, k; int frameSize; @@ -1422,8 +1422,6 @@ void R_GetAnimTag( mdrHeader_t *mod, int framenum, const char *tagName, md3Tag_t { if ( !strcmp( tag->name, tagName ) ) { - Q_strncpyz(dest->name, tag->name, sizeof(dest->name)); - // uncompressed model... // frameSize = (intptr_t)( &((mdrFrame_t *)0)->bones[ mod->numBones ] ); @@ -1445,7 +1443,6 @@ void R_GetAnimTag( mdrHeader_t *mod, int framenum, const char *tagName, md3Tag_t AxisClear( dest->axis ); VectorClear( dest->origin ); - strcpy(dest->name,""); } #endif @@ -1458,7 +1455,7 @@ int R_LerpTag( orientation_t *tag, qhandle_t handle, int startFrame, int endFram float frac, const char *tagName ) { mdvTag_t *start, *end; #ifdef RAVENMD4 - md3Tag_t start_space, end_space; + mdvTag_t start_space, end_space; #endif int i; float frontLerp, backLerp; |