Make cargo pods appear again.
Cargo items were always set inactive after the conversion of variables from signed char to bool.
This commit is contained in:
parent
6c6fa1ec2e
commit
bf39080d6f
|
@ -52,7 +52,7 @@ object *addCargo(object *owner, int cargoType)
|
||||||
if (index == -1)
|
if (index == -1)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
cargo[index].active = false;
|
cargo[index].active = true;
|
||||||
cargo[index].owner = owner;
|
cargo[index].owner = owner;
|
||||||
cargo[index].x = owner->x;
|
cargo[index].x = owner->x;
|
||||||
cargo[index].y = owner->y;
|
cargo[index].y = owner->y;
|
||||||
|
|
Loading…
Reference in New Issue