engine: mod_bmodel: fix build w/ MSVC

This commit is contained in:
Alibek Omarov
2026-02-13 12:09:01 +05:00
parent cf9f9b40e7
commit f802b0eed9

View File

@@ -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;