Thread: PowerupSentinel
View Single Post
Old 10-30-2009, 03:27 PM   #12
Deaod
User
 
Join Date: Jan 2007
Posts: 542

Submissions (11)

Deaod is a jewel in the rough (192)Deaod is a jewel in the rough (192)Deaod is a jewel in the rough (192)

Default

Why do you set qn to 0 at the end?

Imagine a player buys a tome of levelup and is already on max level. The tome will stay on the ground and leak at a later point.

Id suggest you just recycle indices.
__________________
Deaod is offline   Reply With Quote