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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user