Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/assaultcube/AC
/ teamatoi
Function
teamatoi
source/src/clientgame.cpp:175–178 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
173
SVARFF(curname, { curname = exchangestr(curname, player1->name); }, {} );
174
175
int teamatoi(const char *name)
176
{
177
return getlistindex(name, teamnames, true, -1);
178
}
179
180
void newteam(char *name)
181
{
Callers
4
newteam
Function · 0.85
teaminfo
Function · 0.85
respawnself
Function · 0.85
CreateBot
Method · 0.85
Calls
1
getlistindex
Function · 0.85
Tested by
no test coverage detected