MCPcopy Create free account
hub / github.com/diasurgical/devilution / multi_handle_turn_upper_bit

Function multi_handle_turn_upper_bit

Source/multi.cpp:192–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192void multi_handle_turn_upper_bit(int pnum)
193{
194 int i;
195
196 for (i = 0; i < MAX_PLRS; i++) {
197 if (player_state[i] & 0x10000 && i != pnum)
198 break;
199 }
200
201 if (myplr == i) {
202 sgbSendDeltaTbl[pnum] = TRUE;
203 } else if (myplr == pnum) {
204 gbDeltaSender = i;
205 }
206}
207
208void multi_player_left(int pnum, int reason)
209{

Callers 1

multi_parse_turnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected