mirror of
				https://github.com/AxioDL/metaforce.git
				synced 2025-10-28 14:49:48 +00:00 
			
		
		
		
	CScriptSpecialFunction: Remove unnecessary const_cast in AcceptScriptMsg()
This const_cast isn't required at all any more.
This commit is contained in:
		
							parent
							
								
									d131d72efa
								
							
						
					
					
						commit
						c796cf5315
					
				| @ -184,8 +184,7 @@ void CScriptSpecialFunction::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId | ||||
|     case ESpecialFunction::MapStation: { | ||||
|       if (msg == EScriptObjectMessage::Action) { | ||||
|         mgr.MapWorldInfo()->SetMapStationUsed(true); | ||||
|         const_cast<CMapWorld&>(*mgr.GetWorld()->GetMapWorld()) | ||||
|             .RecalculateWorldSphere(*mgr.MapWorldInfo(), *mgr.GetWorld()); | ||||
|         mgr.GetWorld()->GetMapWorld()->RecalculateWorldSphere(*mgr.MapWorldInfo(), *mgr.GetWorld()); | ||||
|       } | ||||
|       break; | ||||
|     } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user