Skip to content

Commit

Permalink
Add missing breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Foereaper committed Sep 21, 2024
1 parent eab1303 commit e2a1379
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion methods/TrinityCore/PlayerMethods.h
Original file line number Diff line number Diff line change
Expand Up @@ -1976,14 +1976,18 @@ namespace LuaPlayer
{
case 1: // MOVE_ROOT
player->SetRooted(true);
break;
case 2: // MOVE_UNROOT
player->SetRooted(false);
break;
case 3: // MOVE_WATER_WALK
player->SetWaterWalking(true);
break;
case 4: // MOVE_LAND_WALK
player->SetWaterWalking(false);
break;
default:
return 0;
break;
}

return 0;
Expand Down

0 comments on commit e2a1379

Please sign in to comment.