Some minor cleanup/tuning/commenting

This commit is contained in:
svdijk 2013-04-14 18:46:08 +02:00
parent 4465d7e045
commit 20110faeed
4 changed files with 3 additions and 8 deletions

View File

@ -2352,7 +2352,7 @@ SaveGameCallback(void *self)
if (a->generic.localdata[0] == 0)
{
m_popup_string = "This slot is reserved for\n"
"autosaving. Please select\n"
"autosaving, so please select\n"
"another one.";
m_popup_endtime = cls.realtime + 2000;
M_Popup();

View File

@ -375,11 +375,6 @@ infront(edict_t *self, edict_t *other)
AngleVectors(self->s.angles, forward, NULL, NULL);
if ((self == NULL) || (other == NULL))
{
return false;
}
VectorSubtract(other->s.origin, self->s.origin, vec);
VectorNormalize(vec);
dot = DotProduct(vec, forward);

View File

@ -151,7 +151,7 @@ ChaseNext(edict_t *ent)
int i;
edict_t *e;
if (!ent)
if (!ent)
{
return;
}

View File

@ -203,7 +203,7 @@ BeginIntermission(edict_t *targ)
}
void
DeathmatchScoreboardMessage(edict_t *ent, edict_t *killer)
DeathmatchScoreboardMessage(edict_t *ent, edict_t *killer /* can be NULL */)
{
char entry[1024];
char string[1400];