viewleaf = model->brush.PointInLeaf ? model->brush.PointInLeaf(model, r_refdef.view.origin) : NULL;
// if possible fetch the visible cluster bits
if (!r_lockpvs.integer && model->brush.FatPVS)
- model->brush.FatPVS(model, r_refdef.view.origin, 2, r_refdef.viewcache.world_pvsbits, sizeof(r_refdef.viewcache.world_pvsbits), false);
+ model->brush.FatPVS(model, r_refdef.view.origin, 2, r_refdef.viewcache.world_pvsbits, (r_refdef.viewcache.world_numclusters+7)>>3, false);
if (!r_lockvisibility.integer)
{
skinframe_t *skinframe;
if (!r_refdef.scene.worldmodel)
{
- Con_Printf("There is no worldmodel\n");
+ if (gamemode != GAME_BLOODOMNICIDE)
+ Con_Printf("There is no worldmodel\n");
return;
}
m = r_refdef.scene.worldmodel;
}
if(!cl.islocalgame || !cl.worldmodel)
{
- Con_Print("This command works only in singleplayer\n");
+ if (gamemode != GAME_BLOODOMNICIDE)
+ Con_Print("This command works only in singleplayer\n");
return;
}
r = Cmd_Argv(1);
// t->skinframes[0] = skinframe;
t->currentskinframe = skinframe;
t->currentskinframe = skinframe;
- Con_Printf("%s replaced with %s\n", r, newt);
+ if (gamemode != GAME_BLOODOMNICIDE)
+ Con_Printf("%s replaced with %s\n", r, newt);
}
else
{
- Con_Printf("%s was not found\n", newt);
+ if (gamemode != GAME_BLOODOMNICIDE)
+ Con_Printf("%s was not found\n", newt);
return;
}
}