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

Function update_max_out_time

src/SB/Game/zEntPlayerOOBState.cpp:164–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162 }
163
164 static void update_max_out_time(const xSurface& surface)
165 {
166 F32 delay = zSurfaceGetOutOfBoundsDelay(surface);
167 if (delay < 0.0f)
168 {
169 delay = fixed.out_time;
170 }
171
172 F32 old_max_out_time = shared.max_out_time;
173 shared.max_out_time = delay;
174 shared.out_time -= old_max_out_time - delay;
175 }
176
177 static bool assume_player_is_stupid()
178 {

Callers 1

updateMethod · 0.85

Calls 1

Tested by

no test coverage detected