mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-17 12:39:27 -04:00
fix friendly fire achievement
This commit is contained in:
@@ -21,9 +21,6 @@
|
||||
#include "d/d_lib.h"
|
||||
#include "d/d_debug_viewer.h"
|
||||
#include "f_op/f_op_kankyo_mng.h"
|
||||
#ifdef TARGET_PC
|
||||
#include "dusk/achievements.h"
|
||||
#endif
|
||||
|
||||
static const cM3dGCylS l_cyl_info[] = {
|
||||
{ 0.0f, 0.0f, 0.0f, 30.0f, 100.0f },
|
||||
@@ -3585,12 +3582,6 @@ bool daObjCarry_c::cc_damage_proc_ironball() {
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef TARGET_PC
|
||||
if (mCannon && mCyl.ChkAtHit() && mCyl.GetAtHitAc() == daPy_getPlayerActorClass()) {
|
||||
dusk::AchievementSystem::get().signal("iron_ball_hit_player");
|
||||
}
|
||||
#endif
|
||||
|
||||
return var_r26;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user