mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 22:33:43 -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;
|
DroppedItemRot += 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((this->unk_15A > 0) && !CVar_GetS32("gDropsDontDie", 0)) {
|
if (this->unk_15A > 0) {
|
||||||
this->unk_15A--;
|
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)) {
|
if ((this->unk_15A > 0) && (this->unk_15A < 41) && (this->unk_154 <= 0)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue