mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
small fix
git-svn-id: https://svn.eduke32.com/eduke32@1529 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
4bde7fddac
commit
fb7efbd4b7
1 changed files with 4 additions and 0 deletions
|
@ -10532,7 +10532,11 @@ void ExtAnalyzeSprites(void)
|
|||
if (shadepreview && !(tspr->cstat & 16))
|
||||
{
|
||||
if (sector[tspr->sectnum].ceilingstat&1)
|
||||
{
|
||||
l = sector[tspr->sectnum].ceilingshade;
|
||||
if (sector[tspr->sectnum].ceilingpal != 0 && sector[tspr->sectnum].ceilingpal < num_tables)
|
||||
tspr->pal=sector[tspr->sectnum].ceilingpal;
|
||||
}
|
||||
else
|
||||
{
|
||||
l = sector[tspr->sectnum].floorshade;
|
||||
|
|
Loading…
Reference in a new issue