MCPcopy Create free account
hub / github.com/DFHack/dfhack / set_arrow_color

Function set_arrow_color

plugins/siege-engine.cpp:145–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145static void set_arrow_color(df::coord pos, int color)
146{
147 auto tile = Maps::getTileOccupancy(pos);
148
149 if (tile)
150 tile->bits.arrow_color = color;
151}
152
153typedef std::pair<df::coord, df::coord> coord_range;
154

Callers 1

aimAtPointMethod · 0.85

Calls 1

getTileOccupancyFunction · 0.85

Tested by

no test coverage detected