summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/doom/p_spec.c4
-rw-r--r--apps/plugins/doom/p_spec.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/doom/p_spec.c b/apps/plugins/doom/p_spec.c
index 8e3c81b..6270928 100644
--- a/apps/plugins/doom/p_spec.c
+++ b/apps/plugins/doom/p_spec.c
@@ -947,7 +947,7 @@ boolean P_CanUnlockGenDoor
// jff 2/23/98 added to prevent old demos from
// succeeding in starting multiple specials on one sector
//
-int P_SectorActive(special_e t,sector_t *sec)
+boolean P_SectorActive(special_e t,sector_t *sec)
{
if (demo_compatibility) // return whether any thinker is active
return sec->floordata || sec->ceilingdata || sec->lightingdata;
@@ -961,7 +961,7 @@ int P_SectorActive(special_e t,sector_t *sec)
case lighting_special:
return (sec->lightingdata!=NULL);
}
- return 1; // don't know which special, must be active, shouldn't be here
+ return true; // don't know which special, must be active, shouldn't be here
}
diff --git a/apps/plugins/doom/p_spec.h b/apps/plugins/doom/p_spec.h
index 7a13ad8..426e7db 100644
--- a/apps/plugins/doom/p_spec.h
+++ b/apps/plugins/doom/p_spec.h
@@ -853,7 +853,7 @@ boolean P_CanUnlockGenDoor
( line_t* line,
player_t* player);
-int P_SectorActive
+boolean P_SectorActive
( special_e t,
sector_t* s );