mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-28 14:31:15 +00:00
Merge branch 'EOL-11' into EOL
This commit is contained in:
commit
0765c83ccc
7 changed files with 6 additions and 6 deletions
|
@ -3021,7 +3021,6 @@ static void G_DoCompleted(void)
|
||||||
|
|
||||||
if ((gottoken = (gametype == GT_COOP && token)))
|
if ((gottoken = (gametype == GT_COOP && token)))
|
||||||
{
|
{
|
||||||
INT16 i;
|
|
||||||
token--;
|
token--;
|
||||||
|
|
||||||
for (i = 0; i < 7; i++)
|
for (i = 0; i < 7; i++)
|
||||||
|
|
|
@ -16823,7 +16823,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
|
||||||
100, // mass
|
100, // mass
|
||||||
0, // damage
|
0, // damage
|
||||||
sfx_lntsit, // activesound
|
sfx_lntsit, // activesound
|
||||||
MF_SPECIAL|MF_SHOOTABLE|MF_ENEMY|MF_RUNSPAWNFUNC|MF_NOGRAVITY, // flags
|
MF_SPECIAL|MF_SHOOTABLE|MF_ENEMY|MF_NOGRAVITY, // flags
|
||||||
S_NULL // raisestate
|
S_NULL // raisestate
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -1594,7 +1594,7 @@ void A_CheckBuddy(mobj_t *actor)
|
||||||
|
|
||||||
// Helper function for the Robo Hood.
|
// Helper function for the Robo Hood.
|
||||||
// Don't ask me how it works. Nev3r made it with dark majyks.
|
// Don't ask me how it works. Nev3r made it with dark majyks.
|
||||||
void P_ParabolicMove(mobj_t *actor, fixed_t x, fixed_t y, fixed_t z, fixed_t speed)
|
static void P_ParabolicMove(mobj_t *actor, fixed_t x, fixed_t y, fixed_t z, fixed_t speed)
|
||||||
{
|
{
|
||||||
fixed_t dh;
|
fixed_t dh;
|
||||||
|
|
||||||
|
|
|
@ -2663,6 +2663,8 @@ static inline void P_NiGHTSDamage(mobj_t *target, mobj_t *source)
|
||||||
player_t *player = target->player;
|
player_t *player = target->player;
|
||||||
tic_t oldnightstime = player->nightstime;
|
tic_t oldnightstime = player->nightstime;
|
||||||
|
|
||||||
|
(void)source; // unused
|
||||||
|
|
||||||
if (!player->powers[pw_flashing])
|
if (!player->powers[pw_flashing])
|
||||||
{
|
{
|
||||||
angle_t fa;
|
angle_t fa;
|
||||||
|
|
|
@ -306,7 +306,6 @@ void P_GiveEmerald(boolean spawnObj)
|
||||||
if (spawnObj && playeringame[consoleplayer])
|
if (spawnObj && playeringame[consoleplayer])
|
||||||
{
|
{
|
||||||
// The Chaos Emerald begins to orbit us!
|
// The Chaos Emerald begins to orbit us!
|
||||||
UINT8 em = P_GetNextEmerald();
|
|
||||||
// Only give it to ONE person!
|
// Only give it to ONE person!
|
||||||
mobj_t *emmo = P_SpawnMobjFromMobj(players[consoleplayer].mo, 0, 0, players[consoleplayer].mo->height, MT_GOTEMERALD);
|
mobj_t *emmo = P_SpawnMobjFromMobj(players[consoleplayer].mo, 0, 0, players[consoleplayer].mo->height, MT_GOTEMERALD);
|
||||||
P_SetTarget(&emmo->target, players[consoleplayer].mo);
|
P_SetTarget(&emmo->target, players[consoleplayer].mo);
|
||||||
|
|
|
@ -1667,7 +1667,7 @@ static void ST_drawNiGHTSHUD(void)
|
||||||
else
|
else
|
||||||
ST_DrawTopLeftOverlayPatch(40, 8 + 5, narrow[(leveltime/2)&7]);
|
ST_DrawTopLeftOverlayPatch(40, 8 + 5, narrow[(leveltime/2)&7]);
|
||||||
}
|
}
|
||||||
else if (oldspecialstage && total_spherecount < ssspheres)
|
else if (oldspecialstage && total_spherecount < (INT32)ssspheres)
|
||||||
{
|
{
|
||||||
INT32 cfill, amount;
|
INT32 cfill, amount;
|
||||||
const INT32 length = 88;
|
const INT32 length = 88;
|
||||||
|
|
|
@ -329,7 +329,7 @@ void Y_IntermissionDrawer(void)
|
||||||
else if (!animatetic && data.spec.bonus.points == 0 && data.spec.passed3[0] != '\0')
|
else if (!animatetic && data.spec.bonus.points == 0 && data.spec.passed3[0] != '\0')
|
||||||
animatetic = intertic + TICRATE;
|
animatetic = intertic + TICRATE;
|
||||||
|
|
||||||
if (animatetic && intertic >= animatetic)
|
if (animatetic && (tic_t)intertic >= animatetic)
|
||||||
{
|
{
|
||||||
const INT32 scradjust = (vid.width/vid.dupx)>>3; // 40 for BASEVIDWIDTH
|
const INT32 scradjust = (vid.width/vid.dupx)>>3; // 40 for BASEVIDWIDTH
|
||||||
INT32 animatetimer = (intertic - animatetic);
|
INT32 animatetimer = (intertic - animatetic);
|
||||||
|
|
Loading…
Reference in a new issue