core/sourcemod.cpp
changeset 3104 b15fb3b476f1
parent 3010 8ea042c00c80
child 3261 e4359292e59a
     1.1 --- a/core/sourcemod.cpp	Sat Jul 31 16:06:22 2010 -0500
     1.2 +++ b/core/sourcemod.cpp	Sun Aug 01 14:57:54 2010 -0500
     1.3 @@ -2,7 +2,7 @@
     1.4   * vim: set ts=4 sw=4 :
     1.5   * =============================================================================
     1.6   * SourceMod
     1.7 - * Copyright (C) 2004-2009 AlliedModders LLC.  All rights reserved.
     1.8 + * Copyright (C) 2004-2010 AlliedModders LLC.  All rights reserved.
     1.9   * =============================================================================
    1.10   *
    1.11   * This program is free software; you can redistribute it and/or modify it under
    1.12 @@ -737,5 +737,13 @@
    1.13  	return g_PLID;
    1.14  }
    1.15  
    1.16 +int SourceModBase::GetShApiVersion()
    1.17 +{
    1.18 +	int api, impl;
    1.19 +	g_SMAPI->GetShVersions(api, impl);
    1.20 +
    1.21 +	return api;
    1.22 +}
    1.23 +
    1.24  SMGlobalClass *SMGlobalClass::head = NULL;
    1.25