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

Function pushscontext

source/src/command.cpp:1649–1655  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1647int execcontext;
1648
1649void pushscontext(int newcontext)
1650{
1651 ASSERT(newcontext >= 0 && newcontext < IEXC_NUM);
1652 contextstack.add(execcontext);
1653 execcontext = newcontext;
1654 currentcontextisolated = contextsealed && contextisolated[execcontext];
1655}
1656
1657int popscontext()
1658{

Callers 5

empty_worldFunction · 0.85
loadmodelFunction · 0.85
load_worldFunction · 0.85
runMethod · 0.85
main.cppFile · 0.85

Calls 1

addMethod · 0.45

Tested by

no test coverage detected