mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-23 03:12:38 +00:00
Always use the white sidemark sprite, since track switching is no longer "activated"
This commit is contained in:
parent
ed7a109ce9
commit
4385e07c0b
2 changed files with 2 additions and 9 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue