mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: mod_bmodel: fix build w/ MSVC
This commit is contained in:
@@ -754,7 +754,7 @@ static void Mod_LoadLump( const void *in, const mlumpinfo_t *info, mlumpstat_t *
|
||||
|
||||
// all checks are passed, store pointers
|
||||
if( info->dataptr )
|
||||
*info->dataptr = (void *)(in + l.fileofs);
|
||||
*info->dataptr = (void *)((byte *)in + l.fileofs);
|
||||
|
||||
if( info->count )
|
||||
*info->count = numelems;
|
||||
|
||||
Reference in New Issue
Block a user