From 7dae023a989f36df435669338fc846beab243cd9 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 14 Mar 2006 10:01:35 +0000 Subject: [PATCH] fixed bug at26580 --- amxmodx/file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amxmodx/file.cpp b/amxmodx/file.cpp index 848538b0..ddd53f23 100755 --- a/amxmodx/file.cpp +++ b/amxmodx/file.cpp @@ -313,7 +313,7 @@ static cell AMX_NATIVE_CALL dir_exists(AMX *amx, cell *params) /* 1 param */ if (attr == INVALID_FILE_ATTRIBUTES) return 0; - if (attr == FILE_ATTRIBUTE_DIRECTORY) + if (attr & FILE_ATTRIBUTE_DIRECTORY) return 1; return 0;