Fixed invalid handle error in ZMarket module (bug 152).
This commit is contained in:
parent
760ee6acc3
commit
86678a9025
|
@ -191,7 +191,10 @@ ZMarketOnClientSpawnPost(client)
|
||||||
ZMarketResetPurchaseCount(client)
|
ZMarketResetPurchaseCount(client)
|
||||||
{
|
{
|
||||||
// Clear out the trie of all data.
|
// Clear out the trie of all data.
|
||||||
|
if (g_hZMarketPurchaseCount[client] != INVALID_HANDLE)
|
||||||
|
{
|
||||||
ClearTrie(g_hZMarketPurchaseCount[client]);
|
ClearTrie(g_hZMarketPurchaseCount[client]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user