Maintenance: Revert 18381 regression: ProcessBuyingStorePurchase is a CGameMode member (callers pass this in ECX); define it as CGame
Batch #18427 by ragnarok-clanker: forced by an admin (0 lower score(s), 2 changed function(s)); checked with 197 compiled unit(s), including every includer of Source/Client/Mode/CGameMode.h.
This commit is contained in:
parent
cbd673053c
commit
71d3e375a9
3 changed files with 4 additions and 4 deletions
|
|
@ -3950,7 +3950,7 @@ static __forceinline void FillVendingItem(ITEM_INFO& item, const VendingItemReco
|
|||
// OFFSET: 0x00D47720
|
||||
// FUNCTION: fn_21850
|
||||
void CGameMode::ReceiveVendingItemSoldNow(const unsigned char* data) {
|
||||
ProcessBuyingStorePurchase(static_cast<int>(_time32(nullptr)), *reinterpret_cast<const int*>(data + 2),
|
||||
this->ProcessBuyingStorePurchase(static_cast<int>(_time32(nullptr)), *reinterpret_cast<const int*>(data + 2),
|
||||
*reinterpret_cast<const short*>(data + 6), *reinterpret_cast<const int*>(data + 8), 0, 0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue