diff --git a/engine/common/com_mesh.c b/engine/common/com_mesh.c index 5eb150318..e9a329bba 100644 --- a/engine/common/com_mesh.c +++ b/engine/common/com_mesh.c @@ -1573,7 +1573,7 @@ qboolean Alias_GAliasBuildMesh(mesh_t *mesh, vbo_t **vbop, galiasinfo_t *inf, in #endif mesh->trneighbors = inf->ofs_trineighbours; -#ifdef SKELETALMODELS +#if defined(SKELETALMODELS) && !defined(SERVERONLY) if (!inf->numbones) usebones = false; else if (inf->ofs_skel_xyz && !inf->ofs_skel_weight)