Code: Select all
extern int s_hunkTotal;
(…)
cv = Cvar_Get( "com_hunkMegs", DEF_COMHUNKMEGS, CVAR_LATCH | CVAR_ARCHIVE | CVAR_GLOBAL );
(…)
s_hunkTotal = cv->integer * 1024 * 1024;
(…)
s_hunkData = (unsigned char *)calloc( s_hunkTotal + 31, 1 );
Try one of the latest development builds, as Daggolin suggestedTsubasa wrote:The version I'm using is still 1.1.
Daggolin wrote:I just tried that hs_anakin on ffa_dmf_v2, using jk2mv 1.1-47 (https://jk2mv.org/builds), com_hunkmegs 128.
The models worked just fine. I only got warnings when I tried "/model jedi_anakin/|head_a1|torso_a1|lower_a1", cause it seems that a buffer hits exactly 64 characters (which is the maximum that fits in). It worked anyway.