mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 20:26:43 +00:00 
			
		
		
		
	fixed logic. ||
This commit is contained in:
		
							parent
							
								
									52bb7c3f69
								
							
						
					
					
						commit
						edbc319c42
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -844,7 +844,7 @@ namespace MWMechanics | |||
|         for (std::vector<MWWorld::Ptr>::iterator it = neighbors.begin(); it != neighbors.end(); ++it) | ||||
|         { | ||||
|             if (   *it == ptr  | ||||
|                 && !it->getClass().isNpc()) continue; // not the player and is an NPC
 | ||||
|                 || !it->getClass().isNpc()) continue; // not the player and is an NPC
 | ||||
| 
 | ||||
|             // Was the crime seen?
 | ||||
|             if ( ( MWBase::Environment::get().getWorld()->getLOS(ptr, *it) && awarenessCheck(ptr, *it) ) || | ||||
|  | @ -861,7 +861,7 @@ namespace MWMechanics | |||
|                     for (std::vector<MWWorld::Ptr>::iterator it1 = neighbors.begin(); it1 != neighbors.end(); ++it1) | ||||
|                     { | ||||
|                         if (   *it == ptr  | ||||
|                             && !it->getClass().isNpc()) continue; // not the player and is an NPC
 | ||||
|                             || !it->getClass().isNpc()) continue; // not the player and is an NPC
 | ||||
| 
 | ||||
|                         // TODO: Add more messages
 | ||||
|                         if (type == OT_Theft) | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue