MCPcopy Create free account
hub / github.com/bwapi/bwapi / ret

Method ret

bwapi/BWScriptEmulator/ScriptThread.cpp:297–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295 this->setScriptOffset(dwOffset);
296}
297bool aithread::ret()
298{
299 if ( this->callstack.empty() )
300 return false;
301
302 this->setScriptOffset( this->callstack.top() );
303 this->callstack.pop();
304 return true;
305}
306
307void *aithread::town()
308{

Callers 1

executeMethod · 0.80

Calls 2

setScriptOffsetMethod · 0.95
topMethod · 0.80

Tested by

no test coverage detected