mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2024-12-25 22:35:31 +03:00
Fixed Response System not including scripts on Linux
This commit is contained in:
parent
2272b75772
commit
b5428d5a77
@ -2025,7 +2025,8 @@ void CResponseSystem::ParseInclude( CStringPool &includedFiles )
|
|||||||
|
|
||||||
if (len+1 != strlen(scriptfile))
|
if (len+1 != strlen(scriptfile))
|
||||||
{
|
{
|
||||||
Q_snprintf(includefile, sizeof(includefile), "%s/%s", includefile, token);
|
Q_strncat( includefile, "/", sizeof( includefile ) );
|
||||||
|
Q_strncat( includefile, token, sizeof( includefile ) );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
includefile[0] = '\0';
|
includefile[0] = '\0';
|
||||||
|
@ -1509,7 +1509,8 @@ void CResponseSystem::ParseInclude()
|
|||||||
|
|
||||||
if (len+1 != strlen(scriptfile))
|
if (len+1 != strlen(scriptfile))
|
||||||
{
|
{
|
||||||
Q_snprintf(includefile, sizeof(includefile), "%s/%s", includefile, token);
|
Q_strncat( includefile, "/", sizeof( includefile ) );
|
||||||
|
Q_strncat( includefile, token, sizeof( includefile ) );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
includefile[0] = '\0';
|
includefile[0] = '\0';
|
||||||
|
Loading…
Reference in New Issue
Block a user