mirror of
				https://github.com/OpenFusionProject/OpenFusion.git
				synced 2025-11-04 02:30:21 +00:00 
			
		
		
		
	Enough with the plungers already.
At least from killed mobs.
This commit is contained in:
		@@ -140,8 +140,13 @@ void MobManager::giveReward(CNSocket *sock) {
 | 
				
			|||||||
    reward->iFatigue_Level = 1;
 | 
					    reward->iFatigue_Level = 1;
 | 
				
			||||||
    reward->iItemCnt = 1; // remember to update resplen if you change this
 | 
					    reward->iItemCnt = 1; // remember to update resplen if you change this
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if 0
 | 
				
			||||||
    int slot = ItemManager::findFreeSlot(plr);
 | 
					    int slot = ItemManager::findFreeSlot(plr);
 | 
				
			||||||
    if (slot == -1) {
 | 
					    if (slot == -1) {
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					    int slot = -1;
 | 
				
			||||||
 | 
					    if (true) {
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
        // no room for an item, but you still get FM and taros
 | 
					        // no room for an item, but you still get FM and taros
 | 
				
			||||||
        reward->iItemCnt = 0;
 | 
					        reward->iItemCnt = 0;
 | 
				
			||||||
        sock->sendPacket((void*)respbuf, P_FE2CL_REP_REWARD_ITEM, sizeof(sP_FE2CL_REP_REWARD_ITEM));
 | 
					        sock->sendPacket((void*)respbuf, P_FE2CL_REP_REWARD_ITEM, sizeof(sP_FE2CL_REP_REWARD_ITEM));
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user