1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-22 17:47:38 +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 ); 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 ) void GetStringManualCharCount( char *pString, size_t maxLenInChars )
{ {
GetStringInternal( pString, maxLenInChars ); GetStringInternal( pString, maxLenInChars );