View Single Post
  #3  
Old 06-01-2006, 04:45 AM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
or if it's not destroying because it has sub-members (which I don't really see why it would affect it, but just incase)

you could always try:

PHP Code:
for(temp.roomnumhotel.room.getvarnames()) {
  
hotel.room.(@temp.roomnum).destroy();
}
hotel.room.destroy(); 
likewise for the other types of rooms.
I don't think this will make much difference though. If you aren't declaring it as a TStaticVar(), then that is why it's not working, but if you are, try this anyway :P
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote