Limit how many workers can harvest the same resource
This commit is contained in:
@@ -487,7 +487,6 @@ static void renderGame(Game *game, float dt) {
|
||||
Rectangle dst = {p[i].x, p[i].y - s[i].y,
|
||||
s[i].x, s[i].y};
|
||||
|
||||
DrawCircleV(p[i], 1.0f, BLUE);
|
||||
Vector2 origin = {dst.width * 0.5f, dst.height};
|
||||
dst.x += origin.x;
|
||||
dst.y += origin.y;
|
||||
@@ -666,7 +665,6 @@ void igInspectWindow(ecs_entity_t entity, bool *open) {
|
||||
igTagCheckbox("Selectable", ECS, entity, Selectable);
|
||||
igTagCheckbox("Selected", ECS, entity, Selected);
|
||||
igTagCheckbox("Storage", ECS, entity, Storage);
|
||||
igTagCheckbox("Harvestable", ECS, entity, Harvestable);
|
||||
igTagCheckbox("Attackable", ECS, entity, Attackable);
|
||||
}
|
||||
if (ecs_has(ECS, entity, BzBTState) &&
|
||||
|
||||
Reference in New Issue
Block a user