From: havoc Date: Mon, 25 Feb 2008 10:29:30 +0000 (+0000) Subject: fix fields.server reference in surface attribute code X-Git-Tag: xonotic-v0.1.0preview~2392 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=283d91a188ca178e21e29762a3380529af99a6bf;p=xonotic%2Fdarkplaces.git fix fields.server reference in surface attribute code git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8130 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/clvm_cmds.c b/clvm_cmds.c index 278149fa..cedb6e81 100644 --- a/clvm_cmds.c +++ b/clvm_cmds.c @@ -1848,7 +1848,7 @@ static void VM_CL_getsurfacepointattribute(void) switch( attributetype ) { // float SPA_POSITION = 0; case 0: - VectorAdd(&(model->surfmesh.data_vertex3f + 3 * surface->num_firstvertex)[pointnum * 3], ed->fields.server->origin, PRVM_G_VECTOR(OFS_RETURN)); + VectorAdd(&(model->surfmesh.data_vertex3f + 3 * surface->num_firstvertex)[pointnum * 3], ed->fields.client->origin, PRVM_G_VECTOR(OFS_RETURN)); break; // float SPA_S_AXIS = 1; case 1: