Adjust body part hit difficulty to make critical hits matter for NPCs #6340
Triggered via pull request
September 15, 2023 01:45
Status
Success
Total duration
1h 42m 32s
Artifacts
–
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
clang-tidy.yml
on: pull_request
skip-duplicates
5s
build
1h 41m
Annotations
10 warnings
build:
src/explosion.cpp#L552
Variable 'delay_ms' declared as 'const long'. Prefer int or int64_t to long. [cata-no-long]
|
build:
src/explosion.cpp#L552
Static cast to 'long'. Prefer int or int64_t to long. [cata-no-long]
|
build:
src/options.cpp#L1877
insufficient spaces at this location. 2 required, but only 1 found. [cata-text-style]
|
build:
src/bionics.cpp#L499
return type 'const std::map<item, bionic_id>' (aka 'const map<item, string_id<bionic_data>>') is 'const'-qualified at the top level, which may reduce code readability without improving const correctness [readability-const-return-type]
|
build:
src/npc.h#L1425
function 'npc_overmap::spawn_chance_in_hour' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name]
|
build:
src/iuse.cpp#L2636
result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division]
|
build:
src/mapgen.cpp#L86
Variable 'GROUP_NETHER' declared but not used. [cata-unused-statics]
|
build:
src/mapgen.cpp#L88
Variable 'GROUP_ROBOT_SECUBOT' declared but not used. [cata-unused-statics]
|
build:
src/ranged.cpp#L129
Variable 'skill_dodge' declared but not used. [cata-unused-statics]
|
build:
src/ranged.cpp#L873
'ammo' used after it was moved [bugprone-use-after-move]
|