Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code cleanup of Kestrel 4500 module #2152

Merged
merged 5 commits into from
Oct 18, 2015
Merged

Code cleanup of Kestrel 4500 module #2152

merged 5 commits into from
Oct 18, 2015

Conversation

jokoho48
Copy link
Member

Code cleanup of Kestrel 4500 module.

_year = _year - 1;
};
(_year + floor(_year/4) - floor(_year/100) + floor(_year/400) + (_table select (_month - 1)) + _day) % 7
};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can those 2 functions be in separate files as all other functions are?

Update some Comments
Fixing Spelling Issue
*
* Public: No
*/
params ["_slot", "_value"];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Missing include
  • Probably enter some empty line between params and the header.
  • I don't see any reason for this code to be a global function, it could very well stay within the file where it came from, as it's not being used anywhere else apart from in fnc_collectData.sqf

@thojkooi thojkooi added the kind/cleanup Release Notes: **CHANGED:** label Aug 14, 2015
@thojkooi thojkooi added this to the 3.3.0 milestone Aug 14, 2015
@ulteq
Copy link
Contributor

ulteq commented Aug 26, 2015

I can't open the Kestrel in-game. Might be due to the missing include: #2152 (comment)

@jokoho48
Copy link
Member Author

Fixed

@thojkooi thojkooi modified the milestones: 3.3.0, 3.4.0 Aug 29, 2015
thojkooi added a commit that referenced this pull request Oct 18, 2015
@thojkooi thojkooi merged commit 9a0aa2b into acemod:master Oct 18, 2015
@jokoho48 jokoho48 deleted the codeCleanupKestrel4500 branch October 18, 2015 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Release Notes: **CHANGED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants