loader/serverplugin.cpp
changeset 669 2ae87570fab2
parent 637 b66489d8aedc
child 683 b507295429f9
     1.1 --- a/loader/serverplugin.cpp	Thu Oct 29 05:21:54 2009 -0500
     1.2 +++ b/loader/serverplugin.cpp	Thu Oct 29 10:57:27 2009 -0500
     1.3 @@ -1,8 +1,8 @@
     1.4  /**
     1.5 - * vim: set ts=4 :
     1.6 + * vim: set ts=4 sw=4 tw=99 noet :
     1.7   * ======================================================
     1.8   * Metamod:Source
     1.9 - * Copyright (C) 2004-2008 AlliedModders LLC and authors.
    1.10 + * Copyright (C) 2004-2009 AlliedModders LLC and authors.
    1.11   * All rights reserved.
    1.12   * ======================================================
    1.13   *
    1.14 @@ -21,8 +21,6 @@
    1.15   * 2. Altered source versions must be plainly marked as such, and must not be
    1.16   * misrepresented as being the original software.
    1.17   * 3. This notice may not be removed or altered from any source distribution.
    1.18 - *
    1.19 - * Version: $Id$
    1.20   */
    1.21  
    1.22  #include <stdio.h>
    1.23 @@ -104,7 +102,7 @@
    1.24  			mm_LogFatal("Could not detect engine version");
    1.25  			return false;
    1.26  		}
    1.27 -		else if (backend == MMBackend_Episode2 || backend == MMBackend_Left4Dead)
    1.28 +		else if (backend >= MMBackend_Episode2)
    1.29  		{
    1.30  			/* We need to insert the right type of call into this vtable */
    1.31  			void **vtable_src;