diff options
Diffstat (limited to 'src/net/messageout.cpp')
-rw-r--r-- | src/net/messageout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/messageout.cpp b/src/net/messageout.cpp index cfbc90554..60336e02f 100644 --- a/src/net/messageout.cpp +++ b/src/net/messageout.cpp @@ -134,7 +134,7 @@ void MessageOut::writeFloat(const float value, const char *const str) { #ifdef ENABLEDEBUGLOG std::string text = strprintf("writeFloat: %f", value); - DEBUGLOG2(text.c_str(), mPos, str); + DEBUGLOG2(text, mPos, str); #endif expand(4); memcpy(mData + CAST_SIZE(mPos), &value, sizeof(float)); |