server: temporary workaround broken pointer in TraceResult

This commit is contained in:
mittorn 2021-02-17 18:25:46 +03:00
parent 448c4dc959
commit f9b70f79e8
1 changed files with 8 additions and 1 deletions

View File

@ -71,7 +71,14 @@ typedef struct
union
{
int iHitgroup;// 0 == generic, non zero is specific body part
struct mstudiomat_s *pMat; // env_static hitting surface
/// struct mstudiomat_s *pMat; // env_static hitting surface
struct matstub_s {
operator mstudiomat_s *(){
return (mstudiomat_s *)NULL;
}
operator bool(){return false;};
mstudiomat_s * operator ->(){return (mstudiomat_s *)NULL;}
} pMat;
};
} TraceResult;