mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 14:23:44 -07:00
But do make them disappear once they're collected!
This commit is contained in:
parent
09ee2f87ea
commit
0282362646
1 changed files with 4 additions and 1 deletions
|
@ -894,8 +894,11 @@ void EnItem00_Update(Actor* thisx, GlobalContext* globalCtx) {
|
|||
DroppedItemRot += 100;
|
||||
}
|
||||
|
||||
if ((this->unk_15A > 0) && !CVar_GetS32("gDropsDontDie", 0)) {
|
||||
if (this->unk_15A > 0) {
|
||||
this->unk_15A--;
|
||||
if (CVar_GetS32("gDropsDontDie", 0) && (this->unk_154 <= 0)) {
|
||||
this->unk_15A++;
|
||||
}
|
||||
}
|
||||
|
||||
if ((this->unk_15A > 0) && (this->unk_15A < 41) && (this->unk_154 <= 0)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue