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