mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-08-01 18:11:36 +03:00
Fix VScript string variants not being assigned on new SDK
This commit is contained in:
parent
0c4cf1669c
commit
48d0f53bc1
@ -955,7 +955,12 @@ inline bool CVariantBase<CValueAllocator>::AssignTo( const char **pszString ) co
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef MAPBASE_VSCRIPT
|
||||||
|
*pszString = m_pszString;
|
||||||
|
return true;
|
||||||
|
#else
|
||||||
return m_pszString;
|
return m_pszString;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user