mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-19 09:00:23 +02:00
Fixed GAME_DLL issue with entity
This commit is contained in:
1 parent
67322b2665
commit
c3e027c54f
1 file changed
+3
-4
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user