Fixes/Crashes:
command "cometome" Using call pet on hunter crash when casting some spells.
This commit is contained in:
@@ -649,7 +649,7 @@ namespace Game.AI
|
||||
SmartEvents.OnSpellFailed => Marshal.SizeOf(typeof(SmartEvent.SpellCast)),
|
||||
SmartEvents.OnSpellStart => Marshal.SizeOf(typeof(SmartEvent.SpellCast)),
|
||||
SmartEvents.OnDespawn => 0,
|
||||
_ => Marshal.SizeOf(typeof(SmartEvent.Raw)),
|
||||
_ => Marshal.SizeOf(typeof(SmartEvent.Raw)),
|
||||
};
|
||||
|
||||
int rawCount = Marshal.SizeOf(typeof(SmartEvent.Raw)) / sizeof(uint);
|
||||
|
||||
Reference in New Issue
Block a user