ctf flag dropping on mapmodels
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1857 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -512,7 +512,7 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
|
||||
{
|
||||
short x = (ushort) (getint(p)/DMF);
|
||||
short y = (ushort) (getint(p)/DMF);
|
||||
short z = (ushort) (getint(p)/DMF);
|
||||
short z = ((ushort) (getint(p)/DMF))-((short)player1->eyeheight); // correct z offset, assumes all players do have same eyeheight
|
||||
flagdropped(flag, action, x, y, z);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user