home *** CD-ROM | disk | FTP | other *** search
/ Quake 'em / QUAKEEM.BIN / quake / programs / tmstart / tmstart.dif next >
Encoding:
Text File  |  1981-01-07  |  1.0 KB  |  43 lines

  1. diff -u ./client.qc ./client.qc
  2. --- ./client.qc    Wed Jul 24 23:51:22 1996
  3. +++ ./client.qc    Thu Jan  8 00:43:49 1981
  4. @@ -414,9 +414,21 @@
  5.      }
  6.      else if (deathmatch)
  7.      {
  8. -        lastspawn = find(lastspawn, classname, "info_player_deathmatch");
  9. -        if (lastspawn == world)
  10. +        if !(teamplay)
  11. +        {
  12.              lastspawn = find (lastspawn, classname, "info_player_deathmatch");
  13. +            if (lastspawn == world)
  14. +                lastspawn = find (lastspawn, classname, "info_player_deathmatch");
  15. +        }
  16. +        else
  17. +        {
  18. +            while (lastspawn.team != self.team)
  19. +            {
  20. +                lastspawn = find(lastspawn, classname, "info_player_teamplay");
  21. +                if (lastspawn == world)
  22. +                    lastspawn = find (lastspawn, classname, "info_player_teamplay");
  23. +            }
  24. +        }
  25.          if (lastspawn != world)
  26.              return lastspawn;
  27.      }
  28. @@ -544,6 +556,13 @@
  29.  potential spawning position for deathmatch games
  30.  */
  31.  void() info_player_deathmatch =
  32. +{
  33. +};
  34. +
  35. +/*QUAKED info_player_teamplay (1 0 1) (-16 -16 -24) (16 16 24)
  36. +potential spawning position for teamplay deathmatch games
  37. +*/
  38. +void() info_player_teamplay =
  39.  {
  40.  };
  41.  
  42. Only in krhqc: client.qc.orig
  43.