mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Fixed UI movement mode not switching to crawl on character collapse, leading to deadlocks (#231)
This commit is contained in:
+1
-1
@@ -3214,7 +3214,7 @@ BOOLEAN CheckForMercContMove( SOLDIERTYPE *pSoldier )
|
||||
return( FALSE );
|
||||
}
|
||||
|
||||
if( pSoldier->stats.bLife >= OKLIFE )
|
||||
if( pSoldier->stats.bLife >= OKLIFE && !(pSoldier->bCollapsed && pSoldier->bBreath < OKBREATH) )
|
||||
{
|
||||
if( pSoldier->sGridNo != pSoldier->pathing.sFinalDestination || pSoldier->bGoodContPath )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user