core/MenuStyle_Base.cpp
changeset 1163 0bb03cb6277b
parent 1131 d109d9e33ee5
child 1220 4f111b467bfa
     1.1 --- a/core/MenuStyle_Base.cpp	Tue Jul 24 22:20:58 2007 +0000
     1.2 +++ b/core/MenuStyle_Base.cpp	Wed Jul 25 01:18:11 2007 +0000
     1.3 @@ -427,10 +427,10 @@
     1.4  	}
     1.5  
     1.6  	/* For the duration of this, we are going to totally ignore whether
     1.7 -	* the player is already in a menu or not (except to cancel the old one).
     1.8 -	* Instead, we are simply going to ignore any further menu displays, so
     1.9 -	* this display can't be interrupted.
    1.10 -	*/
    1.11 +	 * the player is already in a menu or not (except to cancel the old one).
    1.12 +	 * Instead, we are simply going to ignore any further menu displays, so
    1.13 +	 * this display can't be interrupted.
    1.14 +	 */
    1.15  	player->bAutoIgnore = true;
    1.16  
    1.17  	/* Cancel any old menus */
    1.18 @@ -564,6 +564,7 @@
    1.19  		item.displayString = m_Strings.AddString(draw.display);
    1.20  	}
    1.21  	item.style = draw.style;
    1.22 +	item.access = draw.access;
    1.23  
    1.24  
    1.25  	m_items.push_back(item);
    1.26 @@ -591,6 +592,7 @@
    1.27  		item.displayString = m_Strings.AddString(draw.display);
    1.28  	}
    1.29  	item.style = draw.style;
    1.30 +	item.access = draw.access;
    1.31  
    1.32  	CVector<CItem>::iterator iter = m_items.iterAt(position);
    1.33  	m_items.insert(iter, item);