From 50cc2275674900a7fe89ba8f3104e6244b397570 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Mon, 27 Jun 2011 23:53:40 +0000 Subject: 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 --- src/renderer/tr_model.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/renderer') 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++) -- cgit