From 9c9e9908d1889ab8fa81899a9311a91617ed6505 Mon Sep 17 00:00:00 2001 From: leiizko Date: Wed, 16 Aug 2017 20:44:47 +0200 Subject: [PATCH] linux fix --- src/main_plugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main_plugin.cpp b/src/main_plugin.cpp index 3e68bf1..4447e61 100644 --- a/src/main_plugin.cpp +++ b/src/main_plugin.cpp @@ -47,7 +47,7 @@ void SV_TSRate() } char *placements = Plugin_Scr_GetString( 1 ); - char *p = _strdup( placements ); + char *p = strdup( placements ); char *tok; std::vector< int > ranks; @@ -218,4 +218,4 @@ PCL void OnInfoRequest(pluginInfo_t *info) strncpy(info->fullName, "Trueskill plugin by Leiizko", sizeof(info->fullName)); strncpy(info->shortDescription, "Game rating system.", sizeof(info->shortDescription)); strncpy(info->longDescription, "This plugin is used to rank players according to their individual skill.", sizeof(info->longDescription)); -} \ No newline at end of file +}