fixes for the latest qfcc changes

This commit is contained in:
Bill Currie 2003-09-20 04:21:13 +00:00
parent 508d7da410
commit 3493b80dd0
12 changed files with 12 additions and 12 deletions

View file

@ -1,5 +1,5 @@
all: qwprogs.dat
qwprogs.dat: progs.src *.qc
qfcc -Werror -Wall -g
qfcc -Werror -Wall -g --advanced
clean:
rm -f core *.dat *.sym progdefs.h

View file

@ -602,7 +602,7 @@ trigger_push =
void ()
trigger_monsterjump_touch =
{
if (other.flags & (FL_MONSTER | FL_FLY | FL_SWIM) != FL_MONSTER)
if ((other.flags & (FL_MONSTER | FL_FLY | FL_SWIM)) != FL_MONSTER)
return;
// set XY even if not on ground, so the jump will clear lips

View file

@ -1,5 +1,5 @@
all: spprogs.dat
spprogs.dat: progs.src *.qc
qfcc -Werror -g
qfcc -Werror -g --advanced
clean:
rm -f core *.dat *.sym progdefs.h

View file

@ -626,7 +626,7 @@ void() trigger_push =
void() trigger_monsterjump_touch =
{
if ( other.flags & (FL_MONSTER | FL_FLY | FL_SWIM) != FL_MONSTER )
if ((other.flags & (FL_MONSTER | FL_FLY | FL_SWIM)) != FL_MONSTER )
return;
// set XY even if not on ground, so the jump will clear lips

View file

@ -1,5 +1,5 @@
all: progs.dat
progs.dat: progs.src *.qc
qfcc -Werror -g
qfcc -Werror -g --advanced
clean:
rm -f core *.dat *.sym progdefs.h

View file

@ -675,7 +675,7 @@ void() trigger_bouncepad =
void() trigger_monsterjump_touch =
{
if ( other.flags & (FL_MONSTER | FL_FLY | FL_SWIM) != FL_MONSTER )
if ((other.flags & (FL_MONSTER | FL_FLY | FL_SWIM)) != FL_MONSTER )
return;
// set XY even if not on ground, so the jump will clear lips

View file

@ -1,5 +1,5 @@
all: qwprogs.dat
qwprogs.dat: progs.src *.qc
qfcc -Werror -g
qfcc -Werror -g --advanced
clean:
rm -f core *.dat *.sym progdefs.h

View file

@ -565,7 +565,7 @@ void() trigger_bouncepad =
//============================================================================
void() trigger_monsterjump_touch =
{
if ( other.flags & (FL_MONSTER | FL_FLY | FL_SWIM) != FL_MONSTER )
if ((other.flags & (FL_MONSTER | FL_FLY | FL_SWIM)) != FL_MONSTER )
return;
// set XY even if not on ground, so the jump will clear lips
other.velocity_x = self.movedir_x * self.speed;

View file

@ -1,5 +1,5 @@
all: progs.dat
progs.dat: progs.src *.qc
qfcc -Werror -g
qfcc -Werror -g --advanced
clean:
rm -f core *.dat *.sym progdefs.h

View file

@ -608,7 +608,7 @@ void() trigger_push =
void() trigger_monsterjump_touch =
{
if ( other.flags & (FL_MONSTER | FL_FLY | FL_SWIM) != FL_MONSTER )
if ((other.flags & (FL_MONSTER | FL_FLY | FL_SWIM)) != FL_MONSTER )
return;
// set XY even if not on ground, so the jump will clear lips

View file

@ -1,5 +1,5 @@
all: qwprogs.dat
qwprogs.dat: progs.src *.qc
qfcc -Werror -Wall -g
qfcc -Werror -Wall -g --advanced
clean:
rm -f core *.dat *.sym progdefs.h

View file

@ -580,7 +580,7 @@ trigger_push =
void ()
trigger_monsterjump_touch =
{
if (other.flags & (FL_MONSTER | FL_FLY | FL_SWIM) != FL_MONSTER)
if ((other.flags & (FL_MONSTER | FL_FLY | FL_SWIM)) != FL_MONSTER)
return;
// set XY even if not on ground, so the jump will clear lips