diff options
Diffstat (limited to 'src/tile_cmd.h')
-rw-r--r-- | src/tile_cmd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tile_cmd.h b/src/tile_cmd.h index 1b6c44128..59504ec1f 100644 --- a/src/tile_cmd.h +++ b/src/tile_cmd.h @@ -174,7 +174,7 @@ static inline void AddProducedCargo(TileIndex tile, CargoArray &produced) static inline void AnimateTile(TileIndex tile) { AnimateTileProc *proc = _tile_type_procs[GetTileType(tile)]->animate_tile_proc; - if (proc == NULL) return; + assert(proc != NULL); proc(tile); } |