diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2025-06-10 03:32:22 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2025-06-10 03:32:22 -0300 |
| commit | 699341773dda3ae14a5025b9285bdd05c99bc234 (patch) | |
| tree | a166fcb1fef64f31520a6a26d94a6c83799efce3 /src/cract.cc | |
| parent | cd8f3f412c2a5f49ee25aab83079a655b88d6def (diff) | |
| download | game-699341773dda3ae14a5025b9285bdd05c99bc234.tar.gz game-699341773dda3ae14a5025b9285bdd05c99bc234.zip | |
most `info.cc` functions
Diffstat (limited to 'src/cract.cc')
| -rw-r--r-- | src/cract.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cract.cc b/src/cract.cc index 3d56aa2..22e5b93 100644 --- a/src/cract.cc +++ b/src/cract.cc @@ -1,5 +1,6 @@ #include "cr.hh" #include "config.hh" +#include "info.hh" #include "operate.hh" #include "stubs.hh" @@ -497,7 +498,7 @@ void TCreature::Move(Object Obj, int DestX, int DestY, int DestZ, uint8 Count){ if(DestY >= INVENTORY_FIRST && DestY <= INVENTORY_LAST){ DestCon = GetBodyContainer(this->ID, DestY); DestObj = GetBodyObject(this->ID, DestY); - }else if(DestY >= 64 && DestY < 80){ + }else if(DestY >= CONTAINER_FIRST && DestY <= CONTAINER_LAST){ DestCon = GetBodyContainer(this->ID, DestY); if(DestZ < 254){ // TODO(fusion): The last argument to `GetObject` is the object |
