Update IsMapValid for today's TF2 update.

This commit is contained in:
Nicholas Hastings
2015-06-11 17:48:58 -04:00
parent a4821f9389
commit c0d4dfa6ed
4 changed files with 10 additions and 8 deletions
+1 -2
View File
@@ -52,7 +52,7 @@ using namespace SourceHook;
* Add 1 to the RHS of this expression to bump the intercom file
* This is to prevent mismatching core/logic binaries
*/
#define SM_LOGIC_MAGIC (0x0F47C0DE - 29)
#define SM_LOGIC_MAGIC (0x0F47C0DE - 30)
#if defined SM_LOGIC
class IVEngineServer
@@ -61,7 +61,6 @@ class IVEngineServer_Logic
#endif
{
public:
virtual bool IsMapValid(const char *map) = 0;
virtual bool IsDedicatedServer() = 0;
virtual void InsertServerCommand(const char *cmd) = 0;
virtual void ServerCommand(const char *cmd) = 0;
+1 -1
View File
@@ -371,7 +371,7 @@ public:
UTIL_StripExtension(fileName, buffer, sizeof(buffer));
if (!engine->IsMapValid(buffer))
if (!gamehelpers->IsMapValid(buffer))
{
fileName = smcore.filesystem->FindNext(findHandle);
continue;