Page MenuHomeWildfire Games

GetSimulationState called with an unused argument
ClosedPublic

Authored by fatherbushido on May 12 2017, 11:33 AM.

Details

Summary

GetSimulationState is called with the -1 argument in AIInterface. (leftover)

Test Plan

-

Diff Detail

Repository
rP 0 A.D. Public Repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

fatherbushido created this revision.May 12 2017, 11:33 AM
Vulcan added a subscriber: Vulcan.May 12 2017, 2:11 PM

Build is green

Updating workspaces.
Build (release)...
Build (debug)...
Running release tests...
Running cxxtest tests (306 tests)..................................................................................................................................................................................................................................................................................................................OK!
Running debug tests...
Running cxxtest tests (306 tests)..................................................................................................................................................................................................................................................................................................................OK!

http://jw:8080/job/phabricator/1160/ for more details.

echotangoecho accepted this revision.May 12 2017, 2:27 PM
This revision is now accepted and ready to land.May 12 2017, 2:27 PM

GetSimulationState indeed doesn't take any arguments, good catch!

fatherbushido edited the summary of this revision. (Show Details)May 12 2017, 2:52 PM
elexis accepted this revision.May 12 2017, 2:53 PM
elexis added a subscriber: elexis.

I'll leave this here rP18283 (and mention that the patch is complete because all occurances of SimulationState( in JS don't have an argument after applying this diff and there are no cpp occurances of `SimulationState)

This revision was automatically updated to reflect the committed changes.