From 69ee0e01b1f00703aa22203825917076e06b1a8f Mon Sep 17 00:00:00 2001 From: Michael McKoy Date: Sat, 13 Oct 2007 19:41:25 +0000 Subject: [PATCH] Fixed an incorrect variable name --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401545 --- plugins/mapchooser.sp | 2 +- plugins/randomcycle.sp | 2 +- plugins/rockthevote.sp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/mapchooser.sp b/plugins/mapchooser.sp index e7efb9d1..c199d659 100644 --- a/plugins/mapchooser.sp +++ b/plugins/mapchooser.sp @@ -544,7 +544,7 @@ LoadMaps() decl String:mapPath[256], String:mapFile[64]; GetConVarString(g_Cvar_Mapfile, mapFile, 64); - BuildPath(Path_SM, mapPath, sizeof(mapFile), mapFile); + BuildPath(Path_SM, mapPath, sizeof(mapPath), mapFile); fileFound = FileExists(mapPath); if (!fileFound) { diff --git a/plugins/randomcycle.sp b/plugins/randomcycle.sp index 8eb1cc81..9a6726ee 100644 --- a/plugins/randomcycle.sp +++ b/plugins/randomcycle.sp @@ -116,7 +116,7 @@ LoadMaps() decl String:mapPath[256], String:mapFile[64]; GetConVarString(g_Cvar_Mapfile, mapFile, 64); - BuildPath(Path_SM, mapPath, sizeof(mapFile), mapFile); + BuildPath(Path_SM, mapPath, sizeof(mapPath), mapFile); fileFound = FileExists(mapPath); if (!fileFound) { diff --git a/plugins/rockthevote.sp b/plugins/rockthevote.sp index bf4fd9a9..e3feb924 100644 --- a/plugins/rockthevote.sp +++ b/plugins/rockthevote.sp @@ -536,7 +536,7 @@ LoadMaps() decl String:mapPath[256], String:mapFile[64]; GetConVarString(g_Cvar_File, mapFile, 64); - BuildPath(Path_SM, mapPath, sizeof(mapFile), mapFile); + BuildPath(Path_SM, mapPath, sizeof(mapPath), mapFile); fileFound = FileExists(mapPath); if (!fileFound) {