Hello,
I just wanted to check on this. I have the statement below inside a function (method of Player) that checks that all weapons in the Loadout vector has the same scale as the Player who carries them:
Code:
int playerscale = PlayerScale;
bool IncorrectScale = any_of(Loadout.begin(), Loadout.end(), [&playerscale](auto& weapon) { return weapon->WeaponScale != playerscale; });
My question is: Does PlayerScale always need to be converted to local before being used this way? Thank you for your time!