Anonymous | Login | Signup for a new account | 2025-10-15 09:45 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 | 2025-10-11 03:17 | ||||
Reporter | Dusk | ||||||||
Assigned To | |||||||||
Priority | low | Severity | trivial | Reproducibility | N/A | ||||
Status | resolved | Resolution | fixed | ||||||
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 | |||||||||
![]() |
|
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. |
Ru5tK1ng (updater) 2025-10-11 03:17 |
It's been changed since then so I don't think this ticket is valid anymore. |
This issue is already marked as resolved. If you feel that is not the case, please reopen it and explain why. |
|
Supporters: | No one explicitly supports this issue yet. |
Opponents: | No one explicitly opposes this issue yet. |
![]() |
|||
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 |
2025-10-11 03:17 | Ru5tK1ng | Note Added: 0024573 | |
2025-10-11 03:17 | Ru5tK1ng | Status | new => resolved |
2025-10-11 03:17 | Ru5tK1ng | Resolution | open => fixed |
Copyright © 2000 - 2025 MantisBT Team |