Skip to content

Commit c065a48

Browse files
committed
AnimantionsAtOnceLimit disabled again
Misunderstood its purpose. The minimum is 21 as the value. It can only be greater - which is the disabled part, so I'll just disable it all again until some day I correct the addresses.
1 parent ed85771 commit c065a48

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

F1DPPatcher/SFall1Patches/AnimationsAtOnceLimit.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,7 @@ void AnimationsAtOnceInit(void) {
217217

218218
getPropValueIni(MAIN_INI_SPEC_SEC_SFALL1, "Misc", "AnimationsAtOnceLimit", "21", prop_value, &sfall1_ini_info_G);
219219
sscanf(prop_value, "%d", &temp_int);
220-
*(uint32_t *) getRealBlockAddrData(&AnimationsLimit) = (uint32_t) temp_int > 21 ? 21 : (uint32_t) temp_int;
221-
// Original: *(uint32_t *) getRealBlockAddrData(&AnimationsLimit) = (uint32_t) temp_int > 127 ? 127 : (uint32_t) temp_int;
222-
// todo ATTENTION - This comment just above is waiting for all the addresses on the arrays are corrected for DOS
220+
*(uint32_t *) getRealBlockAddrData(&AnimationsLimit) = (uint32_t) temp_int > 127 ? 127 : (uint32_t) temp_int;
223221
if (temp_int > 21) {
224222
int i = 0;
225223
int AnimationsLimit_local = 0;

F1DPPatcher/SFall1Patches/SFall1Main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2185,8 +2185,8 @@ void DllMain2(void) {
21852185
// Patch ereg call - I think the purpose of this is only for Windows, so I've disabled it here
21862186
//blockCallEXE(0x3B25F);
21872187

2188-
// todo The below has parts disabled until ALL the addresses are corrected for the DOS EXE
2189-
AnimationsAtOnceInit();
2188+
// todo The below is disabled until ALL the addresses are corrected for the DOS EXE
2189+
//AnimationsAtOnceInit();
21902190

21912191
getPropValueIni(MAIN_INI_SPEC_SEC_SFALL1, "Misc", "CombatPanelAnimDelay", "1000", prop_value, &sfall1_ini_info_G);
21922192
sscanf(prop_value, "%d", &temp_int);

0 commit comments

Comments
 (0)