mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: decrease instanced baseline index by minus one to avoid zero offset which interpreted as no baseline at all
This commit is contained in:
@@ -356,7 +356,7 @@ static void SV_EmitPacketEntities( sv_client_t *cl, client_frame_t *to, sizebuf_
|
||||
if( !Q_strcmp( classname, sv.instanced[i].classname ))
|
||||
{
|
||||
baseline = &sv.instanced[i].baseline;
|
||||
offset = -i;
|
||||
offset = -i - 1; // to avoid zero offset
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user