diff --git a/source/src/clients2c.cpp b/source/src/clients2c.cpp index f6ba4f86..39ebdfc0 100644 --- a/source/src/clients2c.cpp +++ b/source/src/clients2c.cpp @@ -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)player1->eyeheight); // correct z offset, assumes all players do have same eyeheight + short z = ((ushort) (getint(p)/DMF))-((short)player1->eyeheight); // correct z offset, assumes all players do have the same eyeheight flagdropped(flag, action, x, y, z); break; } diff --git a/source/src/entities.cpp b/source/src/entities.cpp index 8d9793df..f7086111 100644 --- a/source/src/entities.cpp +++ b/source/src/entities.cpp @@ -282,7 +282,7 @@ void tryflagdrop(bool reset) f.flag->spawned = false; f.state = CTFF_DROPPED; f.ack = false; - flagdropmillis = lastmillis+1000; + flagdropmillis = lastmillis+3000; addmsg(reset ? SV_FLAGRESET : SV_FLAGDROP, "ri", f.team); } } @@ -325,7 +325,7 @@ void flagdropped(int flag, int action, short x, short y, short z) p.o.x = x; p.o.y = y; p.o.z = z; - p.vel.z = -1.0f; + p.vel.z = -0.8f; loopi(50) moveplayer(&p, 50, true); // calc drop position f.flag->x = (short)p.o.x; f.flag->y = (short)p.o.y;