sourcemm/sample_mm/SamplePlugin.cpp
changeset 238 c27105949293
parent 187 d81c2fc9a708
child 240 11c567392c11
     1.1 --- a/sourcemm/sample_mm/SamplePlugin.cpp	Thu Aug 10 21:07:07 2006 +0000
     1.2 +++ b/sourcemm/sample_mm/SamplePlugin.cpp	Sun Aug 13 11:34:30 2006 +0000
     1.3 @@ -28,7 +28,7 @@
     1.4  		} \
     1.5  		if (num_var >= 999) \
     1.6  			break; \
     1.7 -	} while ( num_var=ismm->FormatIface(name, sizeof(name)-1) ); \
     1.8 +	} while (( num_var=ismm->FormatIface(name, sizeof(name)-1) )); \
     1.9  	if (!assn_var) { \
    1.10  		if (error) \
    1.11  			snprintf(error, maxlen, "Could not find interface %s", name); \
    1.12 @@ -126,7 +126,7 @@
    1.13  	char iface_buffer[255];
    1.14  	int num = 0;
    1.15  
    1.16 -	strcpy(iface_buffer, INTERFACEVERSION_SERVERGAMEDLL);
    1.17 +	strcpy(iface_buffer, "ServerGameDLL003");
    1.18  	FIND_IFACE(serverFactory, m_ServerDll, num, iface_buffer, IServerGameDLL *);
    1.19  	strcpy(iface_buffer, INTERFACEVERSION_VENGINESERVER);
    1.20  	FIND_IFACE(engineFactory, m_Engine, num, iface_buffer, IVEngineServer *);