mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-16 10:02:59 -07:00
Add silver/golden gauntlets to Cosmetics Editor (#1683)
* Add golden gauntlets to Cosmetics Editor * Removed extra space * Fixed comment * Changed comment again (helps if you save the file before committing)
This commit is contained in:
parent
6bdca84b90
commit
db2e6164cb
3 changed files with 37 additions and 2 deletions
|
@ -784,7 +784,14 @@ void func_8008F470(GlobalContext* globalCtx, void** skeleton, Vec3s* jointTable,
|
|||
if (strengthUpgrade >= 2) { // silver or gold gauntlets
|
||||
gDPPipeSync(POLY_OPA_DISP++);
|
||||
|
||||
color = &sGauntletColors[strengthUpgrade - 2];
|
||||
if (!CVar_GetS32("gUseGauntletsCol", 0)) {
|
||||
color = &sGauntletColors[strengthUpgrade - 2];
|
||||
} else if (strengthUpgrade == PLAYER_STR_SILVER_G) {
|
||||
*color = CVar_GetRGB("gGauntlets_Silver", sGauntletColors[PLAYER_STR_SILVER_G - 2]);
|
||||
} else if (strengthUpgrade == PLAYER_STR_GOLD_G) {
|
||||
*color = CVar_GetRGB("gGauntlets_Golden", sGauntletColors[PLAYER_STR_GOLD_G - 2]);
|
||||
}
|
||||
|
||||
gDPSetEnvColor(POLY_OPA_DISP++, color->r, color->g, color->b, 0);
|
||||
|
||||
gSPDisplayList(POLY_OPA_DISP++, gLinkAdultLeftGauntletPlate1DL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue