From 9ee9d6f9fc5cf910f1fb940b1317e31feb386d31 Mon Sep 17 00:00:00 2001 From: Rafael Barreto Date: Sun, 11 Jul 2010 02:46:33 +0000 Subject: [PATCH] ops git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5339 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/clients2c.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/src/clients2c.cpp b/source/src/clients2c.cpp index e86a8246..c420179f 100644 --- a/source/src/clients2c.cpp +++ b/source/src/clients2c.cpp @@ -158,8 +158,8 @@ void parsepositions(ucharbuf &p) g = getuint(p); if ((g>>3) & 1) roll = (float)(getint(p)*20.0f/125.0f); if (g & 1) vel.x = getint(p)/DVELF; else vel.x = 0; - if ((g>>1) & 1) vel.y = getint(p)/DVELF; else vel.x = 0; - if ((g>>2) & 1) vel.z = getint(p)/DVELF; else vel.x = 0; + if ((g>>1) & 1) vel.y = getint(p)/DVELF; else vel.y = 0; + if ((g>>2) & 1) vel.z = getint(p)/DVELF; else vel.z = 0; scoping = ( (g>>4) & 1 ? true : false ); f = getuint(p); }