mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Fix RemoveCorpse and RemoveCorpse return values
Small bracket clean up
This commit is contained in:
@@ -85,9 +85,7 @@ namespace LuaCorpse
|
||||
{
|
||||
// Prevent a failed assertion.
|
||||
if (corpse->GetType() != CORPSE_BONES)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
corpse->DeleteBonesFromWorld();
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user