mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
This commit is contained in:
parent
bf07930b8c
commit
9d5a6ac807
2 changed files with 3 additions and 3 deletions
|
@ -1709,7 +1709,7 @@ void runlist_RadialDamageEnemy(short nSprite, short nDamage, short nRadius)
|
|||
}
|
||||
}
|
||||
|
||||
void runlist_DamageEnemy(short nSprite, short nSprite2, short nDamage)
|
||||
void runlist_DamageEnemy(int nSprite, int nSprite2, short nDamage)
|
||||
{
|
||||
if (sprite[nSprite].statnum >= kMaxStatus) {
|
||||
return;
|
||||
|
@ -1721,7 +1721,7 @@ void runlist_DamageEnemy(short nSprite, short nSprite2, short nDamage)
|
|||
return;
|
||||
}
|
||||
|
||||
runlist_SendMessageToRunRec(nRun, nSprite2 | 0x80000, nDamage * 4);
|
||||
runlist_SendMessageToRunRec(nRun, (nSprite2 & 0xFFFF) | 0x80000, nDamage * 4);
|
||||
|
||||
if (nCreaturesLeft <= 0) {
|
||||
return;
|
||||
|
|
|
@ -55,7 +55,7 @@ void runlist_SubRunRec(int RunPtr);
|
|||
void runlist_ProcessWallTag(int nWall, short lotag, short hitag);
|
||||
int runlist_CheckRadialDamage(short nSprite);
|
||||
void runlist_RadialDamageEnemy(short nSprite, short nDamage, short nRadius);
|
||||
void runlist_DamageEnemy(short nSprite, short nSprite2, short nDamage);
|
||||
void runlist_DamageEnemy(int nSprite, int nSprite2, short nDamage);
|
||||
void runlist_SignalRun(int NxtPtr, int edx);
|
||||
|
||||
void runlist_CleanRunRecs();
|
||||
|
|
Loading…
Reference in a new issue