mirror of
https://github.com/SWG-Source/src.git
synced 2026-09-24 11:12:53 -04:00
remove unnecessary null checks
This commit is contained in:
@@ -791,8 +791,6 @@ void CityPathGraphManager::moveBuilding ( BuildingObject * building, Vector cons
|
||||
|
||||
UNREF(oldPosition);
|
||||
|
||||
if(building == NULL) return;
|
||||
|
||||
NetworkIdList ids;
|
||||
if (!building->getObjVars().getItem(OBJVAR_PATHFINDING_BUILDING_WAYPOINTS,ids)) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user