mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 00:42:08 +00:00
Fix player sprite disappearing and chat indicator using the wrong sprite when typing.
This commit is contained in:
parent
658a96ce19
commit
79d2bb1bb8
1 changed files with 2 additions and 1 deletions
|
@ -3747,8 +3747,9 @@ void G_DoSpriteAnimations(int32_t ourx, int32_t oury, int32_t ourz, int32_t oura
|
|||
|
||||
if (g_player[playerNum].input->extbits & (1 << 7) && !ud.pause_on && spritesortcnt < maxspritesonscreen)
|
||||
{
|
||||
auto const playerTyping = t;
|
||||
auto const playerTyping = &tsprite[spritesortcnt];
|
||||
|
||||
*playerTyping = *t;
|
||||
playerTyping->statnum = TSPR_TEMP;
|
||||
playerTyping->cstat = 0;
|
||||
playerTyping->picnum = RESPAWNMARKERGREEN;
|
||||
|
|
Loading…
Reference in a new issue