void pushDuskObject(DuskObject objIn)
	{
		synchronized(objEntities)
		{
			if (objIn.intLocX < 0 || objIn.intLocY < 0 || objIn.intLocX >= MapColumns || objIn.intLocY >= MapRows)
			{
				return;
			}
			DuskObject objStore;
			objStore = objEntities[objIn.intLocX][objIn.intLocY];
			if (objIn == objStore)	// needed to add this check
			{						// as the invis condition
				return;				// adds the mob to update the
			}						// the flags
			if (objStore == null)
			{
				objEntities[objIn.intLocX][objIn.intLocY] = objIn;
			}else
			{
				while (objStore.objNext != null)
				{
					if (objIn == objStore)	// needed to add this check
					{						// as the invis condition
						return;				// adds the mob to update the
					}						// the flags
					objStore = objStore.objNext;
				}
				objStore.objNext = objIn;
			}
		}
	}