mirror of
				https://github.com/DarkflameUniverse/DarkflameServer.git
				synced 2025-10-31 12:41:55 +00:00 
			
		
		
		
	he said make it a reference too, not just const
This commit is contained in:
		| @@ -1294,7 +1294,7 @@ void GameMessages::SendVendorStatusUpdate(Entity* entity, const SystemAddress& s | ||||
| 	bitStream.Write(bUpdateOnly); | ||||
| 	bitStream.Write<uint32_t>(vendorItems.size()); | ||||
|  | ||||
| 	for (const auto item : vendorItems) { | ||||
| 	for (const auto& item : vendorItems) { | ||||
| 		bitStream.Write(item.lot); | ||||
| 		bitStream.Write(item.sortPriority); | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Aaron Kimbre
					Aaron Kimbre