PROGS: Globally disable useless fastarrays on standard

This commit is contained in:
cypress 2024-06-03 20:37:37 -07:00
parent 7fc46d68b9
commit ab274cc55a
2 changed files with 1 additions and 16 deletions

View file

@ -3,6 +3,7 @@
#pragma target fte_5768
#else
#pragma progs_dat "../build/standard/progs.dat"
#pragma flag disable fastarrays
#endif
#pragma warning disable Q208

View file

@ -26,15 +26,6 @@
*/
// FTEQCC currently has an optimization bug with -fastarrays
// that leads to corruption with the weapon list. Disable
// if we're not on FTE.
#ifndef FTE
#pragma flag disable fastarrays
#endif // FTE
// TODO: Actually implement some of these..
// Frame types, generalized.
#define ANIM_FIRE 0
@ -447,10 +438,3 @@ void Weapon_RemoveWeapon(float slot)
Weapon_AssignWeapon(slot, 0, 0, 0);
Weapon_FixUpList();
};
// Re-enable fast array optimization.
#ifndef FTE
#pragma flag enable fastarrays
#endif // FTE