Trim whitespace.

This commit is contained in:
KJack
2023-09-30 05:52:05 -04:00
parent e714f21ee5
commit 76768d85c0
6 changed files with 7 additions and 2 deletions

Submodule modules.disabled/DungeonRespawn added at 521342c032

Submodule modules.disabled/mod-auto-resurrect added at be18f16d97

Submodule modules.disabled/mod-character-tools added at 248de7d113

Submodule modules.disabled/mod-solo-lfg added at 5b3e86697a

Submodule modules.disabled/mod-solocraft added at b73ee01267

View File

@@ -1486,9 +1486,9 @@ void Creature::SelectLevel(bool changelevel)
uint8 minlevel = std::min(cInfo->maxlevel, cInfo->minlevel);
uint8 maxlevel = std::max(cInfo->maxlevel, cInfo->minlevel);
uint8 level = minlevel == maxlevel ? minlevel : urand(minlevel, maxlevel);
sScriptMgr->OnBeforeCreatureSelectLevel(cInfo, this, level);
if (changelevel)
SetLevel(level);