From cd88582478749aa09000361b9f4e48e73b5b307e Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Tue, 28 Mar 2006 16:46:10 +0000 Subject: 64-bit sim fixes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9316 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/doom/p_spec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/plugins/doom/p_spec.c') diff --git a/apps/plugins/doom/p_spec.c b/apps/plugins/doom/p_spec.c index 2876b7f4e5..8e3c81b76e 100644 --- a/apps/plugins/doom/p_spec.c +++ b/apps/plugins/doom/p_spec.c @@ -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 } -- cgit v1.2.3