Made instance name fixup stop fixing up names starting with '!', which was causing problems with procedurals like !activator

This commit is contained in:
Blixibon 2021-01-27 07:57:21 -06:00
parent fa37adb1d5
commit 2ee7845e8d

View File

@ -813,7 +813,11 @@ bool GameData::RemapNameField( const char *pszInValue, char *pszOutValue, TNameF
{
strcpy( pszOutValue, pszInValue );
#ifdef MAPBASE
if ( pszInValue[ 0 ] && pszInValue[ 0 ] != '@' && pszInValue[ 0 ] != '!' )
#else
if ( pszInValue[ 0 ] && pszInValue[ 0 ] != '@' )
#endif
{ // ! at the start of a value means it is global and should not be remaped
switch( NameFixup )
{