misc generics, tweaks, OCD changes, yadda yadda

This commit is contained in:
mark 2006-06-20 21:33:28 +00:00
parent 5f07f81fe1
commit f9c2f5b04e
17 changed files with 36 additions and 45 deletions

View file

@ -1,9 +1,8 @@
using System;
using System.Collections;
using System.Collections.Generic;
using Server;
using Server.Misc;
using Server.Items;
using Server.Accounting;
using Server.Items;
namespace Server.Misc
{
@ -15,7 +14,7 @@ namespace Server.Misc
public class GiftGiving
{
private static ArrayList m_Givers = new ArrayList();
private static List<GiftGiver> m_Givers = new List<GiftGiver>();
public static void Register( GiftGiver giver )
{
@ -38,7 +37,7 @@ namespace Server.Misc
for ( int i = 0; i < m_Givers.Count; ++i )
{
GiftGiver giver = (GiftGiver) m_Givers[i];
GiftGiver giver = m_Givers[i];
if ( now < giver.Start || now >= giver.Finish )
continue; // not in the correct timefream