Skip to content

Commit

Permalink
Update creature_functions.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Luan Luciano committed Aug 21, 2024
1 parent ca24aed commit 7949904
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lua/functions/creatures/creature_functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1020,8 +1020,8 @@ int CreatureFunctions::luaCreatureSetIcon(lua_State* L) {
return 1;
}
const auto key = getString(L, 2);
auto category = getNumber<CreatureIconCategory_t>(L, 3);
auto count = getNumber<uint16_t>(L, 5, 0);
const auto category = getNumber<CreatureIconCategory_t>(L, 3);
const auto count = getNumber<uint16_t>(L, 5, 0);
CreatureIcon creatureIcon;
if (category == CreatureIconCategory_t::Modifications) {
auto icon = getNumber<CreatureIconModifications_t>(L, 4);
Expand Down

0 comments on commit 7949904

Please sign in to comment.