~harrison-rt/+junk/jaguar_company

« back to all changes in this revision

Viewing changes to trunk/jaguar_company.oxp/Scripts/jaguar_company_patrol.js

  • Committer: Richard Harrison
  • Date: 2013-01-31 00:37:41 UTC
  • Revision ID: harrison.rt@gmail.com-20130131003741-hjxqhwtl7s0knopa
* Bumped copyright year.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    /* Standard public variables for OXP scripts. */
26
26
    this.name = "jaguar_company_patrol.js";
27
27
    this.author = "Tricky";
28
 
    this.copyright = "© 2012 Richard Thomas Harrison (Tricky)";
 
28
    this.copyright = "© 2012-2013 Richard Thomas Harrison (Tricky)";
29
29
    this.license = "CC BY-NC-SA 3.0";
30
30
    this.description = "Ship script for the Jaguar Company Patrol ships.";
31
31
    this.version = "1.9";
301
301
        }
302
302
 
303
303
        /* Average all the distances and return it. */
304
 
        return (averageDistance /= otherShipsLength);
 
304
        return (averageDistance / otherShipsLength);
305
305
    };
306
306
 
307
307
    /* Set the co-ordinates to the surface of the entity.