mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-24 21:02:14 +00:00
PROGS: Globally disable useless fastarrays on standard
This commit is contained in:
parent
7fc46d68b9
commit
ab274cc55a
2 changed files with 1 additions and 16 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue