Fixed some small warnings.

This commit is contained in:
Marco Cawthorne 2020-04-03 13:37:26 +02:00
parent 5ba72a224c
commit 5055fc8879
3 changed files with 4 additions and 2 deletions

View File

@ -147,7 +147,7 @@ Footsteps_Update(void)
}
/* make it so we step once we land */
if (!self.flags & FL_ONGROUND) {
if (!(self.flags & FL_ONGROUND)) {
self.fStepTime = 0.0f;
return;
}

View File

@ -66,6 +66,8 @@ Sentences_Init(void)
g_sentences[x] = strcat("!", argv(0));
}
fclose(fs_sentences);
}
string

View File

@ -58,7 +58,7 @@ monster_tripmine::SendEntity(entity pvsent, float flags)
void
monster_tripmine::Trip(int walkthrough)
{
float dmg
float dmg;
if (!walkthrough) {
real_owner = g_eAttacker;
}