Page MenuHomeWildfire Games

Remove unnecessary argument of Pack-timer.
ClosedPublic

Authored by Freagarach on Mar 26 2020, 8:09 PM.

Details

Summary

In (and unused) since its introduction: rP12904.

Test Plan

Verify the argument is indeed unused.

Event Timeline

Freagarach created this revision.Mar 26 2020, 8:09 PM

Successful build - Chance fights ever on the side of the prudent.

Link to build: https://jenkins.wildfiregames.com/job/docker-differential/1923/display/redirect

Freagarach edited the summary of this revision. (Show Details)Mar 26 2020, 8:27 PM
Silier edited reviewers, added: Silier; removed: Restricted Owners Package.Mar 26 2020, 10:06 PM
Silier added a subscriber: Silier.

Nice catch :)

binaries/data/mods/public/simulation/components/Pack.js
64

btw, could you remove last "packing" please ?

Also remove duplicate/depraced "pack" in SetAnimation.
Missed in rP21359.

Freagarach marked an inline comment as done.Mar 26 2020, 10:38 PM

Successful build - Chance fights ever on the side of the prudent.

Link to build: https://jenkins.wildfiregames.com/job/docker-differential/1927/display/redirect

Silier accepted this revision.Mar 26 2020, 10:53 PM

data passed inside timer are not used so removal is ok and it eliminates object creation.
SelecAnimation takes only 3 parameters DEFINE_INTERFACE_METHOD_3("SelectAnimation", void, ICmpVisual, SelectAnimation, std::string, bool, fixed)

This revision is now accepted and ready to land.Mar 26 2020, 10:53 PM
Freagarach edited the summary of this revision. (Show Details)Mar 27 2020, 8:20 AM
Freagarach edited the test plan for this revision. (Show Details)
This revision was automatically updated to reflect the committed changes.

Thanks for the commit @Angen :)