mirror of
https://github.com/libretro/devilutionX.git
synced 2026-11-10 02:41:39 -10:00
Set clang-tidy config for MethodCase option
Previously this was falling back to FunctionCase, leading to inconsistent casing of class methods throughout the codebase. Applied to Item as an example.
This commit is contained in:
1 parent
7a3722d63b
commit
64a2c41b2c
16 files changed
+77
-76
No files matched your search
+1
-1
@@ -701,7 +701,7 @@ DWORD OnRequestGetItem(const TCmd *pCmd, Player &player)
|
||||
int ii = -1;
|
||||
if (InDungeonBounds(position)) {
|
||||
ii = abs(dItem[position.x][position.y]) - 1;
|
||||
if (ii >= 0 && !Items[ii].KeyAttributesMatch(message.dwSeed, static_cast<_item_indexes>(message.wIndx), message.wCI)) {
|
||||
if (ii >= 0 && !Items[ii].keyAttributesMatch(message.dwSeed, static_cast<_item_indexes>(message.wIndx), message.wCI)) {
|
||||
ii = -1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user