summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Schulz <arny@ats.s.bawue.de>2011-06-27 23:53:40 +0000
committerTim Angus <tim@ngus.net>2013-01-10 21:52:55 +0000
commit50cc2275674900a7fe89ba8f3104e6244b397570 (patch)
tree7e64a69c8aa5f2b314a12c8ec055a8f4e71d17df
parent2778b5b75f0be066b998be4c5f1d93bea40aceb3 (diff)
All patches by Zack Middleton: - Bug 5057 - Two weapon number range checks allows invalid number - Bug 5058 - Railgun explosion cannot be colorized - Bug 5059 - Client's railgun does not glow in third person and mirror - Bug 5060 - Warning in RAVENMD4 R_GetAnimTag cross compiling with amd64-mingw32
-rw-r--r--src/renderer/tr_model.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer/tr_model.c b/src/renderer/tr_model.c
index 8f992cf5..06473367 100644
--- a/src/renderer/tr_model.c
+++ b/src/renderer/tr_model.c
@@ -1161,7 +1161,7 @@ void R_GetAnimTag( mdrHeader_t *mod, int framenum, const char *tagName, md3Tag_t
// uncompressed model...
//
- frameSize = (long)( &((mdrFrame_t *)0)->bones[ mod->numBones ] );
+ frameSize = (intptr_t)( &((mdrFrame_t *)0)->bones[ mod->numBones ] );
frame = (mdrFrame_t *)((byte *)mod + mod->ofsFrames + framenum * frameSize );
for (j = 0; j < 3; j++)