diff options
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being.cpp b/src/being.cpp index 30541a590..5e52901f6 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -2512,7 +2512,7 @@ Equipment *Being::getEquipment() void Being::undressItemById(const int id) { - size_t sz = mSpriteIDs.size(); + const size_t sz = mSpriteIDs.size(); for (size_t f = 0; f < sz; f ++) { @@ -2680,7 +2680,7 @@ BeingEquipBackend::BeingEquipBackend(Being *const being): memset(mEquipment, 0, sizeof(mEquipment)); if (being) { - size_t sz = being->mSpriteIDs.size(); + const size_t sz = being->mSpriteIDs.size(); for (unsigned f = 0; f < sz; f ++) { |