- always set the spam timer when a quote is supposed to be printed, even if it gets rejected.

This commit is contained in:
Christoph Oelckers 2020-07-31 21:16:07 +02:00
parent 6d24a20f5c
commit c7c59d33ff

View file

@ -150,7 +150,6 @@ void FTA(int q, struct player_struct* p)
if (p->ftq != q || (totalclock - p->ftt > TICRATE && q != QUOTE_DEAD)) if (p->ftq != q || (totalclock - p->ftt > TICRATE && q != QUOTE_DEAD))
{ {
p->ftq = q; p->ftq = q;
p->ftt = totalclock;
auto qu = quoteMgr.GetQuote(q); auto qu = quoteMgr.GetQuote(q);
if (p == &ps[screenpeek] && qu[0] != '\0') if (p == &ps[screenpeek] && qu[0] != '\0')
{ {
@ -166,6 +165,7 @@ void FTA(int q, struct player_struct* p)
} }
} }
} }
p->ftt = totalclock;
} }
//========================================================================== //==========================================================================