mirror of
https://bitbucket.org/seefoe/src.git
synced 2026-08-01 02:15:47 -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