Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
lakwsh committed Aug 1, 2024
1 parent cbd7dee commit 364b993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maptool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ static const char *mlist[] = {"coop", "realism", "versus", "survival", "scavenge
bool maptool::Load(CreateInterfaceFn interfaceFactory, CreateInterfaceFn gameServerFactory) {
mem_info info = {"matchmaking_ds_srv.so"};
if (!find_base(&info)) return false;
auto match = (IMatchExtL4D *)get_sym(base, "_ZL13g_MatchExtL4D");
auto match = (IMatchExtL4D *)get_sym(info.addr, "_ZL13g_MatchExtL4D");
if (!match) return false;

KeyValues *mis = match->GetAllMissions();
Expand Down

0 comments on commit 364b993

Please sign in to comment.