Include function name in cstrike ext error messages
This commit is contained in:
parent
b7b422f046
commit
902cae595b
@ -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; \
|
||||
@ -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;\
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user