Always use the white sidemark sprite, since track switching is no longer "activated"
This commit is contained in:
parent
ed7a109ce9
commit
4385e07c0b
|
@ -11991,9 +11991,9 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
|
||||||
|
|
||||||
{ // MT_MINECARTSIDEMARK
|
{ // MT_MINECARTSIDEMARK
|
||||||
-1, // doomednum
|
-1, // doomednum
|
||||||
S_MINECARTSIDEMARK1, // spawnstate
|
S_MINECARTSIDEMARK2, // spawnstate
|
||||||
1, // spawnhealth
|
1, // spawnhealth
|
||||||
S_MINECARTSIDEMARK2, // seestate
|
S_NULL, // seestate
|
||||||
sfx_None, // seesound
|
sfx_None, // seesound
|
||||||
0, // reactiontime
|
0, // reactiontime
|
||||||
sfx_None, // attacksound
|
sfx_None, // attacksound
|
||||||
|
|
|
@ -10086,17 +10086,10 @@ static void P_MinecartThink(player_t *player)
|
||||||
currentSpeed *= -1;
|
currentSpeed *= -1;
|
||||||
|
|
||||||
// Player-specific behavior.
|
// Player-specific behavior.
|
||||||
// Update side hopper marker sprites if pressing strafe.
|
|
||||||
if (detleft && player->cmd.sidemove < 0)
|
if (detleft && player->cmd.sidemove < 0)
|
||||||
{
|
|
||||||
P_SetMobjState(detleft, detleft->info->seestate);
|
|
||||||
sidelock = detleft;
|
sidelock = detleft;
|
||||||
}
|
|
||||||
else if (detright && player->cmd.sidemove > 0)
|
else if (detright && player->cmd.sidemove > 0)
|
||||||
{
|
|
||||||
P_SetMobjState(detright, detright->info->seestate);
|
|
||||||
sidelock = detright;
|
sidelock = detright;
|
||||||
}
|
|
||||||
|
|
||||||
//if (player->cmd.buttons & BT_USE && currentSpeed > 4*FRACUNIT)
|
//if (player->cmd.buttons & BT_USE && currentSpeed > 4*FRACUNIT)
|
||||||
// currentSpeed -= FRACUNIT/8;
|
// currentSpeed -= FRACUNIT/8;
|
||||||
|
|
Loading…
Reference in a new issue