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:
driAn
2008-05-04 10:06:22 +00:00
parent 14ef569a94
commit 479d81bb38
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
}