cleanup: remove dead host player flag check in replay parser
Browse filesCo-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
crates/openwa-wormkit/src/replacements/replay.rs
CHANGED
|
@@ -393,9 +393,7 @@ unsafe fn parse_and_write_v2plus(
|
|
| 393 |
wb(base, flag);
|
| 394 |
if flag == 0 { continue; }
|
| 395 |
|
| 396 |
-
|
| 397 |
-
// This is the host player — set local_11 flag
|
| 398 |
-
}
|
| 399 |
player_count += 1;
|
| 400 |
|
| 401 |
let mut name = [0u8; 0x11];
|
|
|
|
| 393 |
wb(base, flag);
|
| 394 |
if flag == 0 { continue; }
|
| 395 |
|
| 396 |
+
// NOTE: original checks if i == host_player_index here (sets a local flag, unused)
|
|
|
|
|
|
|
| 397 |
player_count += 1;
|
| 398 |
|
| 399 |
let mut name = [0u8; 0x11];
|