From 283d91a188ca178e21e29762a3380529af99a6bf Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 25 Feb 2008 10:29:30 +0000 Subject: [PATCH] fix fields.server reference in surface attribute code git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8130 d7cf8633-e32d-0410-b094-e92efae38249 --- clvm_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.2