done gfx monster and fix bug movable when get stuned
This commit is contained in:
@@ -609,7 +609,7 @@ namespace BrewMonster
|
||||
|
||||
private void OnMsgHstRootNotify(in ECMSG Msg)
|
||||
{
|
||||
if ((int)Msg.dwParam2 == CommandID.HOST_NOTIFY_ROOT)
|
||||
if (Convert.ToInt32(Msg.dwParam2) == CommandID.HOST_NOTIFY_ROOT)
|
||||
{
|
||||
cmd_host_notify_root pCmd = GPDataTypeHelper.FromBytes<cmd_host_notify_root>((byte[])Msg.dwParam1);
|
||||
m_dwLIES |=(uint) (1 << pCmd.type);
|
||||
@@ -633,7 +633,7 @@ namespace BrewMonster
|
||||
}
|
||||
}
|
||||
}
|
||||
else if ((int)Msg.dwParam2 == CommandID.HOST_DISPEL_ROOT)
|
||||
else if (Convert.ToInt32(Msg.dwParam2) == CommandID.HOST_DISPEL_ROOT)
|
||||
{
|
||||
cmd_host_dispel_root pCmd = GPDataTypeHelper.FromBytes<cmd_host_dispel_root>((byte[])Msg.dwParam1);
|
||||
m_dwLIES &=(uint) ~(1 << pCmd.type);
|
||||
|
||||
Reference in New Issue
Block a user