1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 16:45:20 +02:00

Remove superfluous pointer null checks

This commit is contained in:
QrchackOfficial
2017-06-05 01:52:55 +02:00
committed by ShadowNinja
parent 7bfd53ba58
commit 5cc8ad946e
10 changed files with 20 additions and 46 deletions

View File

@@ -3231,8 +3231,7 @@ void Game::processClientEvents(CameraOrientation *cam)
{
HudElement *e = player->removeHud(event.hudrm.id);
if (e != NULL)
delete e;
delete e;
}
break;