X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fteams.qh;h=1f8a603dd01744b1dde6a4f13f98b5b32bb61d03;hb=34e7f534e2015466228eb3a78c9857741b736dca;hp=aeaf078dce4b564b6c2a77df146821ff5a77c935;hpb=108912d8f10766f4245efa1dcd11830792fb966e;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/teams.qh b/qcsrc/common/teams.qh index aeaf078dc..1f8a603dd 100644 --- a/qcsrc/common/teams.qh +++ b/qcsrc/common/teams.qh @@ -1,5 +1,4 @@ -#ifndef TEAMS_H -#define TEAMS_H +#pragma once #ifdef TEAMNUMBERS_THAT_ARENT_STUPID const int NUM_TEAM_1 = 1; // red @@ -177,5 +176,3 @@ float Team_TeamToNumber(float teamid) // safe team comparisons #define SAME_TEAM(a,b) (teamplay ? (a.team == b.team) : (a == b)) #define DIFF_TEAM(a,b) (teamplay ? (a.team != b.team) : (a != b)) - -#endif