Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cH1yoi committed Dec 21, 2024
1 parent 5d0360e commit cec2aff
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 13 deletions.
Binary file modified addons/sourcemod/plugins/hana/l4d2_mixmap.smx
Binary file not shown.
24 changes: 12 additions & 12 deletions addons/sourcemod/scripting/l4d2_mixmap.sp
Original file line number Diff line number Diff line change
Expand Up @@ -788,19 +788,19 @@ public Action Timed_PostMapSet(Handle timer)

// Returns a handle to the first array which is found to contain the specified mapname
// (should be the first and only one)
stock Handle GetPoolThatContainsMap(char[] map, int index, char[] tag)
stock Handle GetPoolThatContainsMap(char[] map, char[] tag)
{
Handle hArrayMapPool;

for (int i = 0; i < GetArraySize(g_hArrayTags); i++)
{
GetArrayString(g_hArrayTags, i, tag, BUF_SZ);
GetTrieValue(g_hTriePools, tag, hArrayMapPool);
if ((index = FindStringInArray(hArrayMapPool, map)) >= 0) {
return hArrayMapPool;
}
}
return INVALID_HANDLE;
Handle hArrayMapPool;

for (int i = 0; i < GetArraySize(g_hArrayTags); i++)
{
GetArrayString(g_hArrayTags, i, tag, BUF_SZ);
GetTrieValue(g_hTriePools, tag, hArrayMapPool);
if (FindStringInArray(hArrayMapPool, map) >= 0) {
return hArrayMapPool;
}
}
return INVALID_HANDLE;
}

stock void SelectRandomMap()
Expand Down
1 change: 0 additions & 1 deletion cfg/cfgogl/zmcustom/zonemod.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ l4d_wlimits_lock
confogl_addcvar l4d2_melee_drop_method 2

// [l4d2_playstats.smx + survivor_mvp]
confogl_addcvar sm_survivor_mvp_brevity 0
confogl_addcvar sm_survivor_mvp_brevity_latest 111
confogl_addcvar sm_stats_autoprint_vs_round 8372

Expand Down
Binary file removed models/survivors/tank_namvet.dx90.vtx
Binary file not shown.
Binary file removed models/survivors/tank_namvet.mdl
Binary file not shown.
Binary file removed models/survivors/tank_namvet.phy
Binary file not shown.
Binary file removed models/survivors/tank_namvet.vvd
Binary file not shown.

0 comments on commit cec2aff

Please sign in to comment.