Removed CGAME_DLL checks

This commit is contained in:
L 2023-04-30 14:54:23 +02:00
parent 9df167cea1
commit ce53e2c57d

View file

@ -43,7 +43,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
template<>
int HashCode< ScriptVariable >( const ScriptVariable& key )
{
#if defined ( GAME_DLL ) || defined ( CGAME_DLL )
#if defined (GAME_DLL)
Entity *e;
#endif
@ -976,8 +976,8 @@ void ScriptVariable::SetKey( const short3& key )
Entity *ScriptVariable::entityValue( void )
{
#if defined ( GAME_DLL ) || defined ( CGAME_DLL )
return ( Entity * )listenerValue();
#if defined (GAME_DLL)
return (Entity *)listenerValue();
#else
return NULL;
#endif
@ -2503,7 +2503,7 @@ ScriptVariable * ScriptVariableList::SetVariable( const char *name, const char *
return variable;
}
#if defined ( GAME_DLL ) || defined ( CGAME_DLL )
#if defined (GAME_DLL)
ScriptVariable *ScriptVariableList::SetVariable( const char *name, Entity *value )
{