View Single Post
  #5  
Old 02-11-2004, 08:01 AM
toolh3
Sarnak
 
Join Date: Jul 2003
Posts: 35
Default

Quote:
I think your right about that, however what prevents us from hitting this same block of code when we run through OP_ZoneChange a second time?
I was thinking the same thing, but it was the only way I could explain what was happening. The block of code looks kinda messed up anyway. I agree with you that I see no point in calling the function GetSafePoints() and then overwriting them about 5 lines later. And then when we actually want the safe points we call GetSafePoint() for each variable. We are doing two hits on the database when there only needs to be one.
Reply With Quote