Fix redrawing while fishing while sitting.

This commit is contained in:
Ottermandias 2024-07-16 22:06:02 +02:00
parent 12dfaaef99
commit d952d83adf

View file

@ -303,6 +303,11 @@ public sealed unsafe partial class RedrawService : IDisposable
{ {
278 => true, // line out. 278 => true, // line out.
283 => true, // reeling in 283 => true, // reeling in
284 => true, // reeling in
287 => true, // reeling in 2
3149 => true, // line out sitting,
3155 => true, // reeling in sitting,
3159 => true, // reeling in sitting 2,
_ => false, _ => false,
}, },
_ => false, _ => false,
@ -419,7 +424,7 @@ public sealed unsafe partial class RedrawService : IDisposable
if (housingManager == null) if (housingManager == null)
return; return;
var currentTerritory = (OutdoorTerritory*) housingManager->CurrentTerritory; var currentTerritory = (OutdoorTerritory*)housingManager->CurrentTerritory;
if (currentTerritory == null || currentTerritory->GetTerritoryType() is not HousingTerritoryType.Outdoor) if (currentTerritory == null || currentTerritory->GetTerritoryType() is not HousingTerritoryType.Outdoor)
return; return;