diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2025-06-06 19:36:18 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2025-06-06 19:36:18 -0300 |
| commit | 76f6ecb7c809c6e93447efb91bdf50f2a9d50d6b (patch) | |
| tree | ece58733660361874acc912208d6482d639e556e /src/crcombat.cc | |
| parent | 850fa1c0e128a4fe05ffdbdabc9dad25a7530a3f (diff) | |
| download | game-76f6ecb7c809c6e93447efb91bdf50f2a9d50d6b.tar.gz game-76f6ecb7c809c6e93447efb91bdf50f2a9d50d6b.zip | |
some work on `crmain.cc` and `cract.cc` + merge creature headers
Diffstat (limited to 'src/crcombat.cc')
| -rw-r--r-- | src/crcombat.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crcombat.cc b/src/crcombat.cc index 9edfe9b..dd732e3 100644 --- a/src/crcombat.cc +++ b/src/crcombat.cc @@ -307,11 +307,11 @@ int TCombat::GetArmorStrength(void){ int TCombat::GetDistance(void){ int Distance = 0; if(this->Close != NONE || this->Fist){ - Distance = 1; + Distance = 1; // DISTANCE_CLOSE ? }else if(this->Throw != NONE){ - Distance = 2; + Distance = 2; // DISTANCE_THROW ? }else if(this->Missile != NONE || this->Wand != NONE){ - Distance = 3; + Distance = 3; // DISTANCE_RANGE ? } return Distance; } |
