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 */ /* make it so we step once we land */
if (!self.flags & FL_ONGROUND) { if (!(self.flags & FL_ONGROUND)) {
self.fStepTime = 0.0f; self.fStepTime = 0.0f;
return; return;
} }

View file

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

View file

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