mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Blood: fix candles
This commit is contained in:
parent
57e925a1bb
commit
cc4f801b1e
1 changed files with 2 additions and 2 deletions
|
@ -2436,7 +2436,7 @@ void viewProcessSprites(int32_t cX, int32_t cY, int32_t cZ, int32_t cA, int32_t
|
|||
}
|
||||
switch (pTSprite->statnum) {
|
||||
case kStatDecoration: {
|
||||
switch (pTSprite->hitag) {
|
||||
switch (pTSprite->lotag) {
|
||||
case kDecorationCandle:
|
||||
if (!pTXSprite || pTXSprite->state == 1) {
|
||||
pTSprite->shade = -128;
|
||||
|
@ -2460,7 +2460,7 @@ void viewProcessSprites(int32_t cX, int32_t cY, int32_t cZ, int32_t cA, int32_t
|
|||
}
|
||||
break;
|
||||
case kStatItem: {
|
||||
switch (pTSprite->hitag) {
|
||||
switch (pTSprite->lotag) {
|
||||
case kItemFlagABase:
|
||||
if (pTXSprite && pTXSprite->state > 0 && gGameOptions.nGameType == 3) {
|
||||
auto pNTSprite = viewAddEffect(nTSprite, VIEW_EFFECT_17);
|
||||
|
|
Loading…
Reference in a new issue