X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=qcsrc%2Fcommon%2Fteams.qh;h=1f8a603dd01744b1dde6a4f13f98b5b32bb61d03;hb=7c19cc7613de325a0e43236ee4e202fd6c9f7a7a;hp=aeaf078dce4b564b6c2a77df146821ff5a77c935;hpb=3e172b7663f315bb68d7d6015a54e4d724cd1284;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