mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-31 07:45:48 -04:00
no sword recoil enhancement
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
#include "d/actor/d_a_b_gnd.h"
|
||||
#include "SSystem/SComponent/c_math.h"
|
||||
|
||||
#include "dusk/settings.h"
|
||||
|
||||
enum daAlink_CutNmParamType {
|
||||
CUT_NM_PARAM_VERTICAL,
|
||||
CUT_NM_PARAM_LEFT,
|
||||
@@ -369,6 +371,12 @@ BOOL daAlink_c::changeCutReverseProc(daAlink_c::daAlink_ANM i_anmID) {
|
||||
return procCutReverseInit(i_anmID);
|
||||
}
|
||||
|
||||
#if TARGET_PC
|
||||
if (dusk::getSettings().game.noSwordRecoil) {
|
||||
return FALSE;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (checkNoResetFlg0(FLG0_CUT_AT_FLG) || mEquipItem == dItemNo_COPY_ROD_e) {
|
||||
cXyz sp28;
|
||||
Vec sp1C;
|
||||
|
||||
Reference in New Issue
Block a user