mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-13 12:14:17 +01:00
Fix redrawing while fishing while sitting.
This commit is contained in:
parent
12dfaaef99
commit
d952d83adf
1 changed files with 9 additions and 4 deletions
|
|
@ -301,9 +301,14 @@ public sealed unsafe partial class RedrawService : IDisposable
|
||||||
(CharacterModes)6 => // fishing
|
(CharacterModes)6 => // fishing
|
||||||
GetCurrentAnimationId(obj) switch
|
GetCurrentAnimationId(obj) switch
|
||||||
{
|
{
|
||||||
278 => true, // line out.
|
278 => true, // line out.
|
||||||
283 => true, // reeling in
|
283 => true, // reeling in
|
||||||
_ => false,
|
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,
|
||||||
};
|
};
|
||||||
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue