X-Git-Url: https://de.git.xonotic.org/?p=voretournament%2Fvoretournament.git;a=blobdiff_plain;f=data%2Fqcsrc%2Fclient%2Fsbar.qc;h=9b3db2e22a2bf0087c687e560758dfad1eaf43a1;hp=746861aab913bbf75ddfc25fbd1053c235a27931;hb=f6fb313876957ca2270250111ba2bb5f9f4024a6;hpb=9d2d07d9df8f3acef978c4f4622aa911e489564b diff --git a/data/qcsrc/client/sbar.qc b/data/qcsrc/client/sbar.qc index 746861aa..9b3db2e2 100644 --- a/data/qcsrc/client/sbar.qc +++ b/data/qcsrc/client/sbar.qc @@ -1003,7 +1003,7 @@ void Sbar_PrintStomachboardItem(vector pos, entity pl) float fieldcounter2; void Sbar_PrintStomachboardItemPred(vector pos, entity pl) { - // shows the name of our eater + // shows the name of our predator string str; float f, field, field_number; @@ -2987,13 +2987,13 @@ void Sbar_Draw (void) continue; if(getstati(STAT_VORE_EATEN)) - f = pl.pleater == getstati(STAT_VORE_EATEN); + f = pl.plpredator == getstati(STAT_VORE_EATEN); else { if(spectatee_status) - f = pl.pleater == spectatee_status; + f = pl.plpredator == spectatee_status; else - f = pl.pleater == player_localentnum; + f = pl.plpredator == player_localentnum; } if(f)