Skip to content

Commit

Permalink
suppress the output of the sprite_change message
Browse files Browse the repository at this point in the history
We don't know what type 7 and 13 are. Type 7 looks like body palette or body color. Type 13 looks like body2
  • Loading branch information
ya4ept committed Dec 18, 2024
1 parent 5b53cf5 commit f78a28a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Network/Receive.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4540,7 +4540,10 @@ sub sprite_change {
}
$player->{shoes} = $value1;
} elsif ($type == 12) {
message TF("%s changed Robe to: SPRITE_ROBE_ID=%d\n", $player, $value1, $value1), "parseMsg_statuslook";
message TF("%s changed Robe to: SPRITE_ROBE_ID=%d\n", $player, $value1, $value1), "parseMsg_statuslook" 2;
} elsif ($args->{part} == 7 || $args->{part} == 13) {
# Type 7 looks like body palette or body color. Type 13 looks like body2
debug sprintf("%s changed type= %d. value1=%d, value2=%d\n", $player, $type, $value1, $value2);
} else {
error TF("%s changed unknown sprite type (%d), write about it to OpenKore developer\n", $player, $type), "parseMsg_statuslook";
}
Expand Down

0 comments on commit f78a28a

Please sign in to comment.