Skip to content

Commit

Permalink
Fixed compile error.
Browse files Browse the repository at this point in the history
  • Loading branch information
TLeonardUK committed Jan 3, 2024
1 parent 592fbfc commit ead781a
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 50 deletions.
2 changes: 1 addition & 1 deletion Protobuf/DarkSouls2/DS2_Frpg2PlayerData.proto
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ message PlayerStatus {
optional uint32 disable_cross_region_play = 9;
optional uint32 character_id = 10;
optional uint32 human_effigy_burnt = 11;
repeated uint32 played_online_areas = 12;
repeated uint32 played_areas = 12;
optional uint32 unknown_13 = 13;
optional uint32 unknown_14 = 14;
optional uint32 soul_level = 15;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ MessageHandleResult DS2_PlayerDataManager::Handle_RequestUpdatePlayerStatus(Game

// MergeFrom combines arrays, so we need to do some fuckyness here to handle this.
// TODO
if (status.has_player_status() && status.player_status().unknown_12_size() > 0)
if (status.has_player_status() && status.player_status().played_areas_size() > 0)
{
State.GetPlayerStatus_Mutable().mutable_player_status()->clear_unknown_12();
State.GetPlayerStatus_Mutable().mutable_player_status()->clear_played_areas();
}
/*
if (status.has_player_status() && status.player_status().played_areas_size() > 0)
Expand Down

0 comments on commit ead781a

Please sign in to comment.