diff --git a/docs/rh-log.txt b/docs/rh-log.txt index 80d9d5ecd..06b2c6b71 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -1,3 +1,6 @@ +December 21, 2007 (Changes by Graf Zahl) +- Added Karate Chris's fix for TEAMINFO definitions with just one team. + December 20, 2007 (Changes by Graf Zahl) - Added Blzut3's SBARINFO submission. - Added SnowKate709's A_LookEx submission. diff --git a/src/teaminfo.cpp b/src/teaminfo.cpp index ed878745d..b47dff259 100644 --- a/src/teaminfo.cpp +++ b/src/teaminfo.cpp @@ -96,8 +96,8 @@ void TEAMINFO_Init () SC_Close(); } - if (teams.Size () == 0) - I_FatalError ("No teams defined in TEAMINFO"); + if (teams.Size () < 2) + I_FatalError ("At least two teams must be defined in TEAMINFO"); } //==========================================================================