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:
parent
2ed625af40
commit
245ba001b2
@ -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 );
|
||||||
|
Loading…
Reference in New Issue
Block a user