MCPcopy Create free account
hub / github.com/assaultcube/AC / remipgenerous

Function remipgenerous

source/src/world.cpp:119–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119void remipgenerous(const block &b)
120{
121 block bb = b;
122 if(bb.x>1) bb.x--;
123 if(bb.y>1) bb.y--;
124 bb.xs = min(ssize - bb.x - 1, bb.xs + 2);
125 bb.ys = min(ssize - bb.y - 1, bb.ys + 2);
126 remip(bb);
127}
128
129static int clentsel = 0, clenttype = NOTUSED, pinnedent = -1;
130bool pinnedclosestent = false, pointingatents = false;

Callers 2

loopvFunction · 0.85
selfliprotateFunction · 0.85

Calls 2

minFunction · 0.85
remipFunction · 0.85

Tested by

no test coverage detected