Freeciv21
Develop your civilization from humble roots to a global empire
workertask.cpp
Go to the documentation of this file.
1 /*
2 Copyright (c) 1996-2021 Freeciv21 and Freeciv contributors. This file is
3  /\/\ part of Freeciv21. Freeciv21 is free software: you can
4  \_\ _..._ redistribute it and/or modify it under the terms of the
5  (" )(_..._) GNU General Public License as published by the Free
6  ^^ // \\ Software Foundation, either version 3 of the License,
7  or (at your option) any later version. You should have
8 received a copy of the GNU General Public License along with Freeciv21.
9  If not, see https://www.gnu.org/licenses/.
10  */
11 
12 // common
13 #include "workertask.h"
14 
18 void worker_task_init(struct worker_task *ptask)
19 {
20  ptask->ptile = nullptr;
21  ptask->want = 0;
22 }
struct tile * ptile
Definition: workertask.h:16
void worker_task_init(struct worker_task *ptask)
Initialize empty worker_task.
Definition: workertask.cpp:18