From: Lyberta Date: Sat, 16 Jun 2018 23:48:34 +0000 (+0300) Subject: Added small note for myself. X-Git-Tag: xonotic-v0.8.5~1953^2~6 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=69b02d720a393dccb8bec7bd96dd366413a28ef7;p=xonotic%2Fxonotic-data.pk3dir.git Added small note for myself. --- diff --git a/qcsrc/common/gamemodes/gamemode/domination/domination.qc b/qcsrc/common/gamemodes/gamemode/domination/domination.qc index 46067f907..7a1b9809a 100644 --- a/qcsrc/common/gamemodes/gamemode/domination/domination.qc +++ b/qcsrc/common/gamemodes/gamemode/domination/domination.qc @@ -309,6 +309,7 @@ void Domination_count_controlpoints() { ++total_control_points; entity team_ = Entity_GetTeam(it.goalentity); + //TODO: team_ seems to be NULL int num_control_points = Team_GetNumberOfControlPoints(team_); ++num_control_points; Team_SetNumberOfControlPoints(team_, num_control_points);