flag drop height fix (no longer uses eye pos)

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3011 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-10-14 18:33:26 +00:00
parent 6acb262b50
commit 2ad7aa7111
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -561,9 +561,9 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
break;
case CTFF_DROPPED:
{
short x = (ushort) (getint(p)/DMF);
short y = (ushort) (getint(p)/DMF);
short z = ((ushort) (getint(p)/DMF))-((short)player1->eyeheight); // correct z offset, assumes all players do have the same eyeheight
short x = getuint(p)/DMF;
short y = getuint(p)/DMF;
short z = getuint(p)/DMF;
flagdropped(flag, x, y, z);
break;
}