mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 21:37:22 +01:00
add alternative upload, ignore NIN pets, fix progress crashing
This commit is contained in:
parent
3fcd843a2d
commit
1ed831f360
10 changed files with 92 additions and 33 deletions
|
|
@ -268,11 +268,17 @@ public sealed class GameObjectHandler : DisposableMediatorSubscriberBase
|
|||
|
||||
private unsafe bool IsBeingDrawn(IntPtr drawObj, IntPtr curPtr)
|
||||
{
|
||||
Logger.LogTrace("IsBeingDrawn for ptr {curPtr} : {drawObj}", curPtr.ToString("X"), drawObj.ToString("X"));
|
||||
Logger.LogTrace("IsBeingDrawn for {kind} ptr {curPtr} : {drawObj}", ObjectKind, curPtr.ToString("X"), drawObj.ToString("X"));
|
||||
if (ObjectKind == ObjectKind.Player)
|
||||
{
|
||||
return drawObj == IntPtr.Zero
|
||||
|| (((CharacterBase*)drawObj)->HasModelInSlotLoaded != 0)
|
||||
|| (((CharacterBase*)drawObj)->HasModelFilesInSlotLoaded != 0)
|
||||
|| (((GameObject*)curPtr)->RenderFlags & 0b100000000000) == 0b100000000000;
|
||||
}
|
||||
|
||||
return drawObj == IntPtr.Zero
|
||||
|| (((CharacterBase*)drawObj)->HasModelInSlotLoaded != 0)
|
||||
|| (((CharacterBase*)drawObj)->HasModelFilesInSlotLoaded != 0)
|
||||
|| (((GameObject*)curPtr)->RenderFlags & 0b100000000000) == 0b100000000000;
|
||||
|| ((GameObject*)curPtr)->RenderFlags != 0x0;
|
||||
}
|
||||
|
||||
private void ZoneSwitchEnd()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue