diff options
Diffstat (limited to 'apps/plugins/doom/p_spec.c')
-rw-r--r-- | apps/plugins/doom/p_spec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/doom/p_spec.c b/apps/plugins/doom/p_spec.c index 8e3c81b76e..6270928de0 100644 --- a/apps/plugins/doom/p_spec.c +++ b/apps/plugins/doom/p_spec.c | |||
@@ -947,7 +947,7 @@ boolean P_CanUnlockGenDoor | |||
947 | // jff 2/23/98 added to prevent old demos from | 947 | // jff 2/23/98 added to prevent old demos from |
948 | // succeeding in starting multiple specials on one sector | 948 | // succeeding in starting multiple specials on one sector |
949 | // | 949 | // |
950 | int P_SectorActive(special_e t,sector_t *sec) | 950 | boolean P_SectorActive(special_e t,sector_t *sec) |
951 | { | 951 | { |
952 | if (demo_compatibility) // return whether any thinker is active | 952 | if (demo_compatibility) // return whether any thinker is active |
953 | return sec->floordata || sec->ceilingdata || sec->lightingdata; | 953 | return sec->floordata || sec->ceilingdata || sec->lightingdata; |
@@ -961,7 +961,7 @@ int P_SectorActive(special_e t,sector_t *sec) | |||
961 | case lighting_special: | 961 | case lighting_special: |
962 | return (sec->lightingdata!=NULL); | 962 | return (sec->lightingdata!=NULL); |
963 | } | 963 | } |
964 | return 1; // don't know which special, must be active, shouldn't be here | 964 | return true; // don't know which special, must be active, shouldn't be here |
965 | } | 965 | } |
966 | 966 | ||
967 | 967 | ||