~swag/armagetronad/0.2.9-sty+ct+ap-fork

« back to all changes in this revision

Viewing changes to src/engine/ePlayer.cpp

  • Committer: SwagTron
  • Date: 2019-07-24 09:15:08 UTC
  • Revision ID: swagtron-20190724091508-43l67enxic4y83ru
Bug fix for /rgb.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8788
8788
            else if (passedString.Len() == 5)
8789
8789
            {
8790
8790
                ourID = (unsigned short) strtoul(passedString[1], NULL, 0);
8791
 
                if ((ourID <= MAX_PLAYERS) && (ourID >= 0))
 
8791
                if ((ourID <= MAX_PLAYERS) && (ourID > 0))
8792
8792
                {
8793
8793
                    correctParameters = true;
8794
8794