diff --git a/common/draw.c b/common/draw.c index c384fe7..642c2b3 100644 --- a/common/draw.c +++ b/common/draw.c @@ -641,14 +641,14 @@ void Draw_ConsoleBackground (int lines) unsigned short *pusdest; int f, fstep; qpic_t *conback; - static char saveback[320*8]; +// static char saveback[320*8]; conback = Draw_CachePic ("gfx/conback.lmp"); dest = conback->data + 320 - (strlen(cl_verstring->string)*8 + 11) + 320*186; - memcpy(saveback, conback->data + 320*186, 320*8); +// memcpy(saveback, conback->data + 320*186, 320*8); // draw the pic if (r_pixbytes == 1) @@ -705,7 +705,7 @@ void Draw_ConsoleBackground (int lines) } } // put it back - memcpy(conback->data + 320*186, saveback, 320*8); +// memcpy(conback->data + 320*186, saveback, 320*8); Draw_Alt_String (vid.conwidth - strlen(cl_verstring->string)*8 - 11, lines-14, cl_verstring->string); diff --git a/qw_server/sv_send.c b/qw_server/sv_send.c index 0d0dd24..4b01bb2 100644 --- a/qw_server/sv_send.c +++ b/qw_server/sv_send.c @@ -558,6 +558,11 @@ void SV_UpdateClientStats (client_t *client) // Extensions to the QW 2.40 protocol for MegaTF stats[STAT_VIEWHEIGHT] = (int)ent->v.view_ofs[2]; + + if (ent->v.movetype == MOVETYPE_FLY + && !Q_atoi (Info_ValueForKey (svs.info, "sv_allowflymode"))) + ent->v.movetype = MOVETYPE_WALK; + stats[STAT_FLYMODE] = (ent->v.movetype == MOVETYPE_FLY); for (i=0 ; i