Skip to content

Commit

Permalink
Include function name in cstrike ext error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
asherkin committed Aug 18, 2017
1 parent cc4b1c8 commit 445891b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/cstrike/util_cstrike.cpp
Expand Up @@ -38,7 +38,7 @@
void *addr; \
if (!g_pGameConf->GetMemSig(name, &addr) || !addr) \
{ \
g_pSM->LogError(myself, "Failed to locate function."); \
g_pSM->LogError(myself, "Failed to lookup %s signature.", name); \
return defaultret; \
} \
code; \
Expand All @@ -47,7 +47,7 @@
#define GET_MEMSIG(name, defaultret) \
if (!g_pGameConf->GetMemSig(name, &addr) || !addr) \
{ \
g_pSM->LogError(myself, "Failed to locate function."); \
g_pSM->LogError(myself, "Failed to lookup %s signature.", name); \
return defaultret;\
}

Expand Down

0 comments on commit 445891b

Please sign in to comment.