Skip to content

feat(content,balance): Vehicle collision damage logic update, new vehicle part flags #9019

feat(content,balance): Vehicle collision damage logic update, new vehicle part flags

feat(content,balance): Vehicle collision damage logic update, new vehicle part flags #9019

Triggered via pull request January 13, 2025 08:30
Status Success
Total duration 58m 2s
Artifacts

clang-tidy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build: src/vehicle_move.cpp#L669
unused variable 'dmg' [clang-diagnostic-unused-variable]
build: src/item.cpp#L6205
Division by zero [clang-analyzer-core.DivideZero]
build: src/map.cpp#L864
variable 'dmg' set but not used [clang-diagnostic-unused-but-set-variable]
build: src/map.cpp#L6359
an assignment within an 'if' condition is bug-prone [bugprone-assignment-in-if-condition]
build: src/map.cpp#L6511
1st argument 'loc2' (passed to 'loc1') looks like it might be swapped with the 2nd, 'loc1' (passed to 'loc2') [readability-suspicious-call-argument]
build: src/map.cpp#L6950
performing an implicit widening conversion to type 'size_t' (aka 'unsigned long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result]
build: src/map.cpp#L9074
Construction of 'point' can be simplified using overloaded arithmetic operators. [cata-use-point-arithmetic]
build: src/map.cpp#L9083
Construction of 'tripoint' can be simplified using overloaded arithmetic operators. [cata-use-point-arithmetic]
build: src/map.cpp#L9211
performing an implicit widening conversion to type 'size_t' (aka 'unsigned long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result]
build: src/map.cpp#L9218
performing an implicit widening conversion to type 'size_t' (aka 'unsigned long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result]
build
The process '/usr/bin/git' failed with exit code 128