mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 04:26:42 +00:00 
			
		
		
		
	Merge pull request #1220 from MiroslavR/tcl_collision
Fix actors colliding with noclipping player
This commit is contained in:
		
						commit
						d4781d419f
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -1338,6 +1338,7 @@ namespace MWPhysics
 | 
				
			||||||
            bool cmode = found->second->getCollisionMode();
 | 
					            bool cmode = found->second->getCollisionMode();
 | 
				
			||||||
            cmode = !cmode;
 | 
					            cmode = !cmode;
 | 
				
			||||||
            found->second->enableCollisionMode(cmode);
 | 
					            found->second->enableCollisionMode(cmode);
 | 
				
			||||||
 | 
					            found->second->enableCollisionBody(cmode);
 | 
				
			||||||
            return cmode;
 | 
					            return cmode;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue