Always use the white sidemark sprite, since track switching is no longer "activated"

This commit is contained in:
MascaraSnake 2019-06-21 23:40:28 +02:00
parent ed7a109ce9
commit 4385e07c0b
2 changed files with 2 additions and 9 deletions

View File

@ -11991,9 +11991,9 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
{ // MT_MINECARTSIDEMARK
-1, // doomednum
S_MINECARTSIDEMARK1, // spawnstate
S_MINECARTSIDEMARK2, // spawnstate
1, // spawnhealth
S_MINECARTSIDEMARK2, // seestate
S_NULL, // seestate
sfx_None, // seesound
0, // reactiontime
sfx_None, // attacksound

View File

@ -10086,17 +10086,10 @@ static void P_MinecartThink(player_t *player)
currentSpeed *= -1;
// Player-specific behavior.
// Update side hopper marker sprites if pressing strafe.
if (detleft && player->cmd.sidemove < 0)
{
P_SetMobjState(detleft, detleft->info->seestate);
sidelock = detleft;
}
else if (detright && player->cmd.sidemove > 0)
{
P_SetMobjState(detright, detright->info->seestate);
sidelock = detright;
}
//if (player->cmd.buttons & BT_USE && currentSpeed > 4*FRACUNIT)
// currentSpeed -= FRACUNIT/8;