diff -r 3dd5fcdabe8d -r b15fb3b476f1 core/sourcemod.cpp --- a/core/sourcemod.cpp Sat Jul 31 16:06:22 2010 -0500 +++ b/core/sourcemod.cpp Sun Aug 01 14:57:54 2010 -0500 @@ -2,7 +2,7 @@ * vim: set ts=4 sw=4 : * ============================================================================= * SourceMod - * Copyright (C) 2004-2009 AlliedModders LLC. All rights reserved. + * Copyright (C) 2004-2010 AlliedModders LLC. All rights reserved. * ============================================================================= * * This program is free software; you can redistribute it and/or modify it under @@ -737,5 +737,13 @@ return g_PLID; } +int SourceModBase::GetShApiVersion() +{ + int api, impl; + g_SMAPI->GetShVersions(api, impl); + + return api; +} + SMGlobalClass *SMGlobalClass::head = NULL;