MCPcopy Index your code
hub / github.com/assaultcube/AC / loopvj

Function loopvj

source/src/texture.cpp:1154–1162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1152 Slot &os = (*s)[i];
1153 bool found = false;
1154 loopvj(slots)
1155 {
1156 if(slots[j].scale == os.scale && !strcmp(slots[j].name, os.name))
1157 {
1158 res[i] = j;
1159 found = true;
1160 break;
1161 }
1162 }
1163 if(!found)
1164 {
1165 if(slots.length() < 255)

Callers 3

loopvrevFunction · 0.70
sorttextureslotsFunction · 0.70
loopvFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected