Skip to content

Commit

Permalink
Merge branch 'master' into mobile_hacks
Browse files Browse the repository at this point in the history
  • Loading branch information
a1batross committed Jun 2, 2023
2 parents 42611c9 + 31790c1 commit 21bc80f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion cmake/LibraryNaming.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,14 @@ endmacro()
# grep '^#undef XASH' build.h | grep "XASH_RISCV_" | awk '{ print "check_build_target(" $2 ")"}'
# echo "endif()"

# NOTE: Android must have priority over Linux to work correctly!

set(CMAKE_REQUIRED_INCLUDES "${PROJECT_SOURCE_DIR}/public/")
check_build_target(XASH_64BIT)
check_group_build_target(XASH_WIN32 XASH_PLATFORM)
check_group_build_target(XASH_ANDROID XASH_PLATFORM)
check_group_build_target(XASH_LINUX XASH_PLATFORM)
check_group_build_target(XASH_FREEBSD XASH_PLATFORM)
check_group_build_target(XASH_ANDROID XASH_PLATFORM)
check_group_build_target(XASH_APPLE XASH_PLATFORM)
check_group_build_target(XASH_NETBSD XASH_PLATFORM)
check_group_build_target(XASH_OPENBSD XASH_PLATFORM)
Expand Down
2 changes: 1 addition & 1 deletion dlls/talkmonster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1345,7 +1345,7 @@ void CTalkMonster::StartFollowing( CBaseEntity *pLeader )

BOOL CTalkMonster::CanFollow( void )
{
if( m_MonsterState == MONSTERSTATE_SCRIPT )
if( m_MonsterState == MONSTERSTATE_SCRIPT || m_IdealMonsterState == MONSTERSTATE_SCRIPT )
{
if( !m_pCine )
return FALSE;
Expand Down

0 comments on commit 21bc80f

Please sign in to comment.