From 850ae540a95e8dcbbadd8b5d33c9103c25353583 Mon Sep 17 00:00:00 2001 From: Arkshine Date: Fri, 24 Oct 2014 12:58:24 +0200 Subject: [PATCH] Improve get_map_objectives native. --- dlls/cstrike/csx/rank.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/cstrike/csx/rank.cpp b/dlls/cstrike/csx/rank.cpp index 93ac7b2c..7a94d419 100755 --- a/dlls/cstrike/csx/rank.cpp +++ b/dlls/cstrike/csx/rank.cpp @@ -399,7 +399,8 @@ static cell AMX_NATIVE_CALL get_map_objectives(AMX *amx, cell *params) if (!FNullEnt(FIND_ENTITY_BY_STRING(NULL, "classname", "func_hostage_rescue")) || !FNullEnt(FIND_ENTITY_BY_STRING(NULL, "classname", "info_hostage_rescue")) || - !FNullEnt(FIND_ENTITY_BY_STRING(NULL, "classname", "hostage_entity"))) // there are maps with only this and using team spawn as rescue zone. + !FNullEnt(FIND_ENTITY_BY_STRING(NULL, "classname", "hostage_entity")) || // ) there are maps with only this and using team spawn as rescue zone. + !FNullEnt(FIND_ENTITY_BY_STRING(NULL, "classname", "monster_scientist"))) // ) flags |= MapObjective_Hostage; if (!FNullEnt(FIND_ENTITY_BY_STRING(NULL, "classname", "func_vip_safetyzone")))