From a6d84b7c161037fd1424a22d23d556765f4034d7 Mon Sep 17 00:00:00 2001 From: Giel van Schijndel Date: Mon, 14 Apr 2008 16:15:20 +0000 Subject: [PATCH] Pass NULL to addSubdirs and removeSubdirs, not false (as the target type is a char* pointer) git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4603 4a71c877-e1ca-e34f-864e-861f7616d084 --- src/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/init.c b/src/init.c index c6e6d5c44..518a37705 100644 --- a/src/init.c +++ b/src/init.c @@ -251,7 +251,7 @@ BOOL rebuildSearchPath( searchPathMode mode, BOOL force ) debug( LOG_WZ, "rebuildSearchPath: Removing [%s] from search path", curSearchPath->path ); #endif // DEBUG // Remove maps and mods - removeSubdirs( curSearchPath->path, "maps", false ); + removeSubdirs( curSearchPath->path, "maps", NULL ); removeSubdirs( curSearchPath->path, "mods/global", global_mods ); removeSubdirs( curSearchPath->path, "mods/campaign", campaign_mods ); removeSubdirs( curSearchPath->path, "mods/multiplay", multiplay_mods ); @@ -311,7 +311,7 @@ BOOL rebuildSearchPath( searchPathMode mode, BOOL force ) #endif // DEBUG // Add maps and global and multiplay mods PHYSFS_addToSearchPath( curSearchPath->path, PHYSFS_APPEND ); - addSubdirs( curSearchPath->path, "maps", PHYSFS_APPEND, false ); + addSubdirs( curSearchPath->path, "maps", PHYSFS_APPEND, NULL ); addSubdirs( curSearchPath->path, "mods/global", PHYSFS_APPEND, global_mods ); addSubdirs( curSearchPath->path, "mods/multiplay", PHYSFS_APPEND, multiplay_mods ); PHYSFS_removeFromSearchPath( curSearchPath->path );