diff -r d141174cd362 -r c27105949293 sourcemm/stub_mm/stub_mm.cpp --- a/sourcemm/stub_mm/stub_mm.cpp Thu Aug 10 21:07:07 2006 +0000 +++ b/sourcemm/stub_mm/stub_mm.cpp Sun Aug 13 11:34:30 2006 +0000 @@ -26,7 +26,7 @@ } \ if (num_var >= 999) \ break; \ - } while ( num_var=ismm->FormatIface(name, sizeof(name)-1) ); \ + } while (( num_var=ismm->FormatIface(name, sizeof(name)-1) )); \ if (!assn_var) { \ if (error) \ snprintf(error, maxlen, "Could not find interface %s", name); \ @@ -46,7 +46,7 @@ char iface_buffer[255]; int num = 0; - strcpy(iface_buffer, INTERFACEVERSION_SERVERGAMEDLL); + strcpy(iface_buffer, "ServerGameDLL003"); FIND_IFACE(serverFactory, m_ServerDll, num, iface_buffer, IServerGameDLL *); SH_ADD_HOOK_STATICFUNC(IServerGameDLL, ServerActivate, m_ServerDll, ServerActivate_handler, true);