MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / force_start

Method force_start

src/SB/Game/zEntPlayerOOBState.cpp:933–950  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

931}
932
933void oob_state::force_start()
934{
935 if ((shared.flags & 0x7) == 0x3 && !bungee_state::active())
936 {
937 if (globals.player.ControlOff & 0x8000)
938 {
939 shared.flags |= 0x8;
940 oob_player_teleported = false;
941 }
942 else
943 {
944 shared.flags &= ~0x8;
945 shared.state->stop();
946 shared.state = shared.states[2];
947 shared.state->start();
948 }
949 }
950}
951
952void oob_state::read_persistent(xSerial& s)
953{

Callers

nothing calls this directly

Calls 2

stopMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected