mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-16 17:11:03 +00:00
Some minor cleanup/tuning/commenting
This commit is contained in:
parent
4465d7e045
commit
20110faeed
4 changed files with 3 additions and 8 deletions
|
@ -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();
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -151,7 +151,7 @@ ChaseNext(edict_t *ent)
|
|||
int i;
|
||||
edict_t *e;
|
||||
|
||||
if (!ent)
|
||||
if (!ent)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue