1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-22 09:38:56 +08:00

Bad shim to UtlBuffer::GetString for compat with other SDKs.

This commit is contained in:
Nicholas Hastings 2017-10-28 09:31:48 -04:00
parent 2ed625af40
commit 245ba001b2

View File

@ -193,7 +193,14 @@ public:
{
GetStringInternal( pString, maxLenInChars );
}
// BAD AlliedModders shim for compat with other SDKs
void GetString( char *pString, size_t maxLenInChars )
{
GetStringManualCharCount( pString, maxLenInChars );
}
//
void GetStringManualCharCount( char *pString, size_t maxLenInChars )
{
GetStringInternal( pString, maxLenInChars );