Anonymous | Login | Signup for a new account | 2024-04-24 15:12 UTC |
My View | View Issues | Change Log | Roadmap | Zandronum Issue Support Ranking | Rules | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0002351 | Zandronum | [All Projects] Bug | public | 2015-07-15 19:49 | 2015-07-15 19:51 | ||||||||
Reporter | Dusk | ||||||||||||
Assigned To | |||||||||||||
Priority | low | Severity | trivial | Reproducibility | N/A | ||||||||
Status | new | Resolution | open | ||||||||||
Platform | OS | OS Version | |||||||||||
Product Version | |||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0002351: CALLVOTE_CountNumEligibleVoters is useless | ||||||||||||
Description | 'http://hastebin.com/vumikogera.cpp [^]' The for loop is clearly useless because the breaking point is commented out (and I don't think anyone is going to uncomment it anytime soon), so ulIdx2 is always MAXPLAYERS. So effective it's the same as this:'http://hastebin.com/elenetihub.cpp [^]' And this in turn means we could replace it with a call to SERVER_CountPlayers( false ). | ||||||||||||
Attached Files | |||||||||||||
Notes | |
(0012947) Dusk (developer) 2015-07-15 19:51 edited on: 2015-07-15 19:51 |
To keep its symbolic meaning we could probably rewrite it as:
In case we need to refine the definition of "eligible" sometime. |
Only registered users can voice their support. Click here to register, or here to log in. | |
Supporters: | No one explicitly supports this issue yet. |
Opponents: | No one explicitly opposes this issue yet. |
Issue History | |||
Date Modified | Username | Field | Change |
2015-07-15 19:49 | Dusk | New Issue | |
2015-07-15 19:51 | Dusk | Note Added: 0012947 | |
2015-07-15 19:51 | Dusk | Note Edited: 0012947 | View Revisions |
Copyright © 2000 - 2024 MantisBT Team |