mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Fixed GAME_DLL issue with entity
This commit is contained in:
parent
67322b2665
commit
c3e027c54f
1 changed files with 3 additions and 4 deletions
|
@ -657,11 +657,10 @@ qboolean ScriptVariable::IsEntity( void )
|
|||
{
|
||||
if( type == VARIABLE_LISTENER )
|
||||
{
|
||||
if( !m_data.listenerValue->Pointer() ||
|
||||
#if defined ( CGAME_DLL )
|
||||
if (!m_data.listenerValue->Pointer()
|
||||
#if defined ( GAME_DLL )
|
||||
||
|
||||
checkInheritance( Entity::classinfostatic(), m_data.listenerValue->Pointer()->classinfo() )
|
||||
#else
|
||||
0
|
||||
#endif
|
||||
)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue