mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-02-23 06:02:08 -05:00
Always color in Double Defense
This commit is contained in:
parent
02a8ba8bb9
commit
37fe5491b2
@ -400,7 +400,9 @@ void GetItem_Draw(GlobalContext* globalCtx, s16 drawId) {
|
|||||||
* Uses the Custom Draw Function if it exists, or just calls `GetItem_Draw`
|
* Uses the Custom Draw Function if it exists, or just calls `GetItem_Draw`
|
||||||
*/
|
*/
|
||||||
void GetItemEntry_Draw(GlobalContext* globalCtx, GetItemEntry getItemEntry) {
|
void GetItemEntry_Draw(GlobalContext* globalCtx, GetItemEntry getItemEntry) {
|
||||||
if (getItemEntry.drawFunc != NULL && CVar_GetS32("gRandoMatchKeyColors", 0)) {
|
// RANDOTODO: Make this more flexible for easier toggling of individual item recolors in the future.
|
||||||
|
if (getItemEntry.drawFunc != NULL &&
|
||||||
|
(CVar_GetS32("gRandoMatchKeyColors", 0) || getItemEntry.getItemId == RG_DOUBLE_DEFENSE)) {
|
||||||
getItemEntry.drawFunc(globalCtx, &getItemEntry);
|
getItemEntry.drawFunc(globalCtx, &getItemEntry);
|
||||||
} else {
|
} else {
|
||||||
GetItem_Draw(globalCtx, getItemEntry.gid);
|
GetItem_Draw(globalCtx, getItemEntry.gid);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user