diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-05-14 16:12:56 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-05-14 16:12:56 -0400 |
| commit | 32d9614d63d9610f14773a4f02f0ded33e569398 (patch) | |
| tree | 7ed93646a4b7d911509ee0da842da2063ae2de90 /src | |
| parent | db2f66125d5c8bcc860588252cab251a4bdf0d38 (diff) | |
Fix d_a_ks weak func order with pragmas
Diffstat (limited to 'src')
| -rw-r--r-- | src/d/actor/d_a_ks.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/d/actor/d_a_ks.cpp b/src/d/actor/d_a_ks.cpp index cf6420f5..a327a69d 100644 --- a/src/d/actor/d_a_ks.cpp +++ b/src/d/actor/d_a_ks.cpp @@ -3,12 +3,18 @@ // Translation Unit: d_a_ks.cpp // +// Fakematch? Having sym off before d_a_ks.h but then turning it on before +// d_a_player_main.h fixes the weak function ordering of +// `daPy_py_c::getSwordTopPos() const` and `daPy_py_c::getHeadTopPos() const` +// in this TU. +#pragma sym off #include "d/actor/d_a_ks.h" #include "d/d_procname.h" #include "d/d_com_inf_game.h" #include "d/d_s_play.h" #include "f_op/f_op_camera.h" #include "d/d_snap.h" +#pragma sym on #include "d/actor/d_a_player_main.h" #include "d/actor/d_a_gm.h" #include "d/res/res_ks.h" |
