From: Loic Blot Date: Fri, 13 Mar 2015 21:08:41 +0000 (+0100) Subject: client.cpp: typo fix and break; fix to make some compilers happy X-Git-Tag: 0.4.13~492 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0e93eefb8f0b6168666821c3951810b5298cefe2;p=oweals%2Fminetest.git client.cpp: typo fix and break; fix to make some compilers happy --- diff --git a/src/client.cpp b/src/client.cpp index dce89eb1c..7d2fab179 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -951,7 +951,7 @@ void Client::interact(u8 action, const PointedThing& pointed) { if(m_state != LC_Ready) { errorstream << "Client::interact() " - "cancelled (not connected)" + "Canceled (not connected)" << std::endl; return; } @@ -1296,6 +1296,7 @@ Inventory* Client::getInventory(const InventoryLocation &loc) break; default: FATAL_ERROR("Invalid inventory location type."); + break; } return NULL; }