}
else // RACE! Not Qualifying
{
- float lself, lother, othtime;
+ float mylaps, lother, othtime;
entity oth;
oth = race_checkpoint_lastplayers[cp];
if(oth)
{
- lself = PlayerScore_Add(e, SP_RACE_LAPS, 0);
+ mylaps = PlayerScore_Add(e, SP_RACE_LAPS, 0);
lother = race_checkpoint_lastlaps[cp];
othtime = race_checkpoint_lasttimes[cp];
}
else
- lself = lother = othtime = 0;
+ mylaps = lother = othtime = 0;
if(IS_REAL_CLIENT(e))
{
else
{
WriteInt24_t(MSG_ONE, TIME_ENCODE(time - race_checkpoint_lasttimes[cp]));
- WriteByte(MSG_ONE, lself - lother);
+ WriteByte(MSG_ONE, mylaps - lother);
WriteString(MSG_ONE, oth.netname); // record holder
}
});
race_checkpoint_lastplayers[cp] = e;
race_checkpoint_lasttimes[cp] = time;
- race_checkpoint_lastlaps[cp] = lself;
+ race_checkpoint_lastlaps[cp] = mylaps;
if(IS_REAL_CLIENT(oth))
{
else
{
WriteInt24_t(MSG_ONE, TIME_ENCODE(time - othtime));
- WriteByte(MSG_ONE, lother - lself);
+ WriteByte(MSG_ONE, lother - mylaps);
WriteString(MSG_ONE, e.netname); // record holder
}
});