Fix crash under linux in Hamsandwich module
Fix crash under linux in Hamsandwich module
This commit is contained in:
@@ -84,6 +84,8 @@ void CHamSpecialBotHandler::RegisterHamSpecialBot(AMX *amx, int &func, const cha
|
||||
|
||||
void CHamSpecialBotHandler::RegisterChecked(AMX *amx, int &func, const char *function, int &post, Forward *pfwd)
|
||||
{
|
||||
pfwd->AddRef();
|
||||
|
||||
void **vtable = m_specialbot_vtable;
|
||||
int **ivtable=(int **)vtable;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user