forked from FWGS/Paranoia2
server: temporary workaround broken pointer in TraceResult
This commit is contained in:
parent
448c4dc959
commit
f9b70f79e8
|
@ -71,7 +71,14 @@ typedef struct
|
||||||
union
|
union
|
||||||
{
|
{
|
||||||
int iHitgroup;// 0 == generic, non zero is specific body part
|
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;
|
} TraceResult;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue