Prepare Classic 1.0 edition rules and Diamond 3.7 foreign crests (by Codex)
This commit is contained in:
1 parent
c293a35f56
commit
8ee062ea46
46 files changed
+296
-147
No files matched your search
@@ -1,4 +1,5 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
#include "formats/badge_policy.hpp"
|
||||
#include "formats/executable_layout.hpp"
|
||||
#include "ui/environment.hpp"
|
||||
|
||||
@@ -50,7 +51,7 @@ const char* result_name(EnvironmentRequestKind kind) {
|
||||
bool generic_badge(int club) {
|
||||
// SourceBadgeFallback gates on the runtime club ID, before looking up its W sprite.
|
||||
const unsigned team = unsigned(club) & 0xfff;
|
||||
return team == 0xfff || (team >= 90 && team <= 137) || (team >= 168 && team <= 356);
|
||||
return original_badge_fallback(int(team));
|
||||
}
|
||||
} // namespace
|
||||
|
||||
|
||||
Reference in new issue
Block a user