mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-18 14:41:55 +00:00
Clarify assignment in ternary condition as not a bug
git-svn-id: https://svn.eduke32.com/eduke32@7059 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
3e380309ce
commit
1c5ddca44a
1 changed files with 1 additions and 0 deletions
|
@ -3210,6 +3210,7 @@ void P_CheckSectors(int playerNum)
|
|||
{
|
||||
actor[nearSprite].t_data[0] = 1;
|
||||
sprite[nearSprite].owner = pPlayer->i;
|
||||
// assignment of buttonpalette here is not a bug
|
||||
ud.secretlevel =
|
||||
(pPlayer->buttonpalette = sprite[nearSprite].pal) ? sprite[nearSprite].lotag : 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue