proper flag dropping

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2325 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-08-15 19:27:58 +00:00
parent d9e468d746
commit 24834496d8
+1 -1
View File
@@ -331,7 +331,7 @@ void flagdropped(int flag, int action, short x, short y, short z)
p.o.y = y;
p.o.z = z;
p.vel.z = -0.8f;
loopi(10) moveplayer(&p, 10, true, 50); // calc drop position
loopi(20) moveplayer(&p, 10, true, 50); // calc drop position
f.flag->x = (short)p.o.x;
f.flag->y = (short)p.o.y;
f.flag->z = (short)p.o.z;