client.cpp: typo fix and break; fix to make some compilers happy
This commit is contained in:
parent
083c8c734e
commit
0e93eefb8f
|
@ -951,7 +951,7 @@ void Client::interact(u8 action, const PointedThing& pointed)
|
||||||
{
|
{
|
||||||
if(m_state != LC_Ready) {
|
if(m_state != LC_Ready) {
|
||||||
errorstream << "Client::interact() "
|
errorstream << "Client::interact() "
|
||||||
"cancelled (not connected)"
|
"Canceled (not connected)"
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -1296,6 +1296,7 @@ Inventory* Client::getInventory(const InventoryLocation &loc)
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
FATAL_ERROR("Invalid inventory location type.");
|
FATAL_ERROR("Invalid inventory location type.");
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue