Skip to content

Commit

Permalink
partially-implemented feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jadebenn committed Dec 27, 2023
1 parent abe7d3e commit e070785
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dCommon/NiPoint3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,13 @@ bool NiPoint3::operator!=(const NiPoint3& point) const {
//! Operator for subscripting
float& NiPoint3::operator[](int i) {
float* base = &x;
return const_cast<float&>(base[i]);
return base[i];
}

//! Operator for subscripting
const float& NiPoint3::operator[](int i) const {
const float* base = &x;
return const_cast<float&>(base[i]);
return base[i];
}

//! Operator for addition of vectors
Expand Down
2 changes: 1 addition & 1 deletion dGame/dGameMessages/GameMessages.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1950,7 +1950,7 @@ void GameMessages::SendBBBSaveResponse(const LWOOBJID& objectId, const LWOOBJID&
bitStream.Write(buffer[i]);

SEND_PACKET;
PacketUtils::SavePacket("eGameMessageType::BBB_SAVE_RESPONSE.bin", reinterpret_cast<char*>(bitStream.GetData()), bitStream.GetNumberOfBytesUsed());
//PacketUtils::SavePacket("eGameMessageType::BBB_SAVE_RESPONSE.bin", reinterpret_cast<char*>(bitStream.GetData()), bitStream.GetNumberOfBytesUsed());
}

// Property
Expand Down

0 comments on commit e070785

Please sign in to comment.