forked from len0rd/rockbox
64-bit sim fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9316 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
909b6d2653
commit
cd88582478
2 changed files with 4 additions and 4 deletions
|
|
@ -955,11 +955,11 @@ int P_SectorActive(special_e t,sector_t *sec)
|
|||
switch (t) // return whether thinker of same type is active
|
||||
{
|
||||
case floor_special:
|
||||
return (int)sec->floordata;
|
||||
return (sec->floordata!=NULL);
|
||||
case ceiling_special:
|
||||
return (int)sec->ceilingdata;
|
||||
return (sec->ceilingdata!=NULL);
|
||||
case lighting_special:
|
||||
return (int)sec->lightingdata;
|
||||
return (sec->lightingdata!=NULL);
|
||||
}
|
||||
return 1; // don't know which special, must be active, shouldn't be here
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue