mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-07 08:52:01 +00:00
Disable bumper score icon in NiGHTS to match enemies.
This commit is contained in:
parent
9a309b29c6
commit
3bc8987586
1 changed files with 2 additions and 2 deletions
|
@ -391,8 +391,8 @@ springstate:
|
||||||
P_SetMobjState(spring, spring->info->raisestate);
|
P_SetMobjState(spring, spring->info->raisestate);
|
||||||
if (object->player && spring->reactiontime && !(spring->info->flags & MF_ENEMY))
|
if (object->player && spring->reactiontime && !(spring->info->flags & MF_ENEMY))
|
||||||
{
|
{
|
||||||
mobj_t *scoremobj = P_SpawnMobj(spring->x, spring->y, spring->z + (spring->height/2), MT_SCORE);
|
if (object->player->powers[pw_carry] != CR_NIGHTSMODE) // don't make graphic in NiGHTS
|
||||||
P_SetMobjState(scoremobj, mobjinfo[MT_SCORE].spawnstate+11);
|
P_SetMobjState(P_SpawnMobj(spring->x, spring->y, spring->z + (spring->height/2), MT_SCORE), mobjinfo[MT_SCORE].spawnstate+11);
|
||||||
P_AddPlayerScore(object->player, 10);
|
P_AddPlayerScore(object->player, 10);
|
||||||
spring->reactiontime--;
|
spring->reactiontime--;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue