diff --git a/dGame/dUtilities/SlashCommandHandler.cpp b/dGame/dUtilities/SlashCommandHandler.cpp index 42a4a565..2e3e2be7 100644 --- a/dGame/dUtilities/SlashCommandHandler.cpp +++ b/dGame/dUtilities/SlashCommandHandler.cpp @@ -1938,7 +1938,7 @@ bool SlashCommandHandler::CheckIfAccessibleZone(const unsigned int zoneID) { std::string zonePath = "./res/maps/" + zone->zoneName; std::transform(zonePath.begin(), zonePath.end(), zonePath.begin(), ::tolower); std::ifstream f(zonePath.c_str()); - return f.good() + return f.good(); } else { return false; }