mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-02-23 14:22:16 -05:00
Comment
This commit is contained in:
parent
d5074c3e77
commit
179c432ee1
@ -1170,6 +1170,7 @@ void Player_DrawGetItemImpl(GlobalContext* globalCtx, Player* this, Vec3f* refPo
|
|||||||
Matrix_RotateZYX(0, globalCtx->gameplayFrames * 1000, 0, MTXMODE_APPLY);
|
Matrix_RotateZYX(0, globalCtx->gameplayFrames * 1000, 0, MTXMODE_APPLY);
|
||||||
Matrix_Scale(0.2f, 0.2f, 0.2f, MTXMODE_APPLY);
|
Matrix_Scale(0.2f, 0.2f, 0.2f, MTXMODE_APPLY);
|
||||||
|
|
||||||
|
// RANDOTODO: Make this more flexible for easier toggling of individual item recolors in the future.
|
||||||
if (this->getItemEntry.drawFunc != NULL &&
|
if (this->getItemEntry.drawFunc != NULL &&
|
||||||
(CVar_GetS32("gRandoMatchKeyColors", 0) || this->getItemEntry.getItemId == RG_DOUBLE_DEFENSE)) {
|
(CVar_GetS32("gRandoMatchKeyColors", 0) || this->getItemEntry.getItemId == RG_DOUBLE_DEFENSE)) {
|
||||||
this->getItemEntry.drawFunc(globalCtx, &this->getItemEntry);
|
this->getItemEntry.drawFunc(globalCtx, &this->getItemEntry);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user