mirror of
https://github.com/nzp-team/quakec.git
synced 2025-02-17 17:31: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
|
#pragma target fte_5768
|
||||||
#else
|
#else
|
||||||
#pragma progs_dat "../build/standard/progs.dat"
|
#pragma progs_dat "../build/standard/progs.dat"
|
||||||
|
#pragma flag disable fastarrays
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#pragma warning disable Q208
|
#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..
|
// TODO: Actually implement some of these..
|
||||||
// Frame types, generalized.
|
// Frame types, generalized.
|
||||||
#define ANIM_FIRE 0
|
#define ANIM_FIRE 0
|
||||||
|
@ -447,10 +438,3 @@ void Weapon_RemoveWeapon(float slot)
|
||||||
Weapon_AssignWeapon(slot, 0, 0, 0);
|
Weapon_AssignWeapon(slot, 0, 0, 0);
|
||||||
Weapon_FixUpList();
|
Weapon_FixUpList();
|
||||||
};
|
};
|
||||||
|
|
||||||
// Re-enable fast array optimization.
|
|
||||||
#ifndef FTE
|
|
||||||
|
|
||||||
#pragma flag enable fastarrays
|
|
||||||
|
|
||||||
#endif // FTE
|
|
||||||
|
|
Loading…
Reference in a new issue