Hunger
#3
I think it should be outsourced a bit.
The clienthandle is already very overloadedBig Grin

For example:

if(SomeClass::IsFood(Item->m_ItemID))
{
if(m_Player->GetInventory().RemoveItem( Item )
m_Player->Feed(SomeClass::GetSaturation(Item->m_ItemID));
break;
}

This would make the cClientHandle a bit clearer Smile
Reply
Thanks given by:


Messages In This Thread
Hunger - by cedeel - 12-29-2011, 11:36 PM
RE: Hunger - by mtilden - 12-30-2011, 01:32 AM
RE: Hunger - by Lapayo - 12-30-2011, 04:09 AM
RE: Hunger - by cedeel - 12-30-2011, 08:16 AM
RE: Hunger - by Lapayo - 12-30-2011, 09:34 AM



Users browsing this thread: 1 Guest(s)