From a75da18f31b6637a86591f9288aaad4eb61173b3 Mon Sep 17 00:00:00 2001 From: Koncord Date: Tue, 21 Feb 2017 18:14:02 +0800 Subject: [PATCH] [Server] Fix argument in log message --- apps/openmw-mp/Cell.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/openmw-mp/Cell.cpp b/apps/openmw-mp/Cell.cpp index 39efaf199..caaf3eb7e 100644 --- a/apps/openmw-mp/Cell.cpp +++ b/apps/openmw-mp/Cell.cpp @@ -160,7 +160,8 @@ void CellController::removePlayer(Cell *cell, Player *player) if (cell->players.empty()) { - LOG_MESSAGE_SIMPLE(Log::LOG_VERBOSE, "Deleting empty cell from memory: %s", player->npc.mName, player->getId(), cell->cell.getDescription().c_str()); + LOG_MESSAGE_SIMPLE(Log::LOG_VERBOSE, "Deleting empty cell from memory: %s", player->npc.mName.c_str(), + player->getId(), cell->cell.getDescription().c_str()); auto it = find(cells.begin(), cells.end(), cell); delete *it; cells.erase(it);