Skip to content

Commit

Permalink
* fix client classic victories
Browse files Browse the repository at this point in the history
  • Loading branch information
WALL OF JUSTICE committed Aug 14, 2023
1 parent 6220f66 commit f2305b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/net.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4403,6 +4403,7 @@ static std::unordered_map<Uint32, void(*)()> clientPacketHandlers = {
}
}
else if (net_packet->data[5] == 1) { // classic herx ending
victory = 1;
switch ( race ) {
default:
case RACE_HUMAN:
Expand All @@ -4425,6 +4426,7 @@ static std::unordered_map<Uint32, void(*)()> clientPacketHandlers = {
}
}
else if (net_packet->data[5] == 2) { // classic baphomet ending
victory = 2;
switch ( race ) {
default:
case RACE_HUMAN:
Expand Down

0 comments on commit f2305b7

Please sign in to comment.