1
This commit is contained in:
parent
37f952a603
commit
4a013c68a6
@ -30,6 +30,8 @@
|
|||||||
#include "movement.h"
|
#include "movement.h"
|
||||||
#include "hero.h"
|
#include "hero.h"
|
||||||
#include "skill.h"
|
#include "skill.h"
|
||||||
|
#include "netdata.h"
|
||||||
|
#include "cs_proto.pb.h"
|
||||||
|
|
||||||
#include "mt/Param.h"
|
#include "mt/Param.h"
|
||||||
#include "mt/Equip.h"
|
#include "mt/Equip.h"
|
||||||
@ -1173,5 +1175,12 @@ bool Bullet::IsClientHook()
|
|||||||
!sender.Get()) {
|
!sender.Get()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return sender.Get()->IsPlayer();
|
if (!sender.Get()->IsPlayer()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (sender.Get()->GetBattleContext()->join_msg->proto_version() < 2023121501) {
|
||||||
|
return false;
|
||||||
|
} else {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user