From 17ae4f0c498cb8a4fffaa9ccc4d79118c66f5c45 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Sat, 3 Aug 2013 13:56:58 -0400 Subject: [PATCH] Fixed MetamodVersionInfo::GetGameDir always returning NULL or garbage. --- core/ISmmPluginExt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/ISmmPluginExt.h b/core/ISmmPluginExt.h index be76e89..712e39b 100644 --- a/core/ISmmPluginExt.h +++ b/core/ISmmPluginExt.h @@ -139,7 +139,7 @@ struct MetamodVersionInfo */ inline const char *GetGameDir() const { - if (pl_max >= 15) + if (pl_max < 15) return NULL; return game_dir; }