Fix remotefortressreader to use new ocean_wave field names

develop
Quietust 2021-09-02 06:58:55 -06:00
parent b509a0b571
commit 9d8eccd152
1 changed files with 2 additions and 2 deletions

@ -1568,8 +1568,8 @@ static command_result GetBlockList(color_ostream &stream, const BlockRequest *in
{
auto wave = world->ocean_waves[i];
auto netWave = out->add_ocean_waves();
ConvertDFCoord(wave->x1, wave->y1, wave->z, netWave->mutable_dest());
ConvertDFCoord(wave->x2, wave->y2, wave->z, netWave->mutable_pos());
ConvertDFCoord(wave->dest.x, wave->dest.y, wave->z, netWave->mutable_dest());
ConvertDFCoord(wave->cur.x, wave->cur.y, wave->z, netWave->mutable_pos());
}
MC.trash();
return CR_OK;