Changeset - r10352:1c484901e47e
[Not reviewed]
master
0 1 0
rubidium - 16 years ago 2008-11-22 13:09:31
rubidium@openttd.org
(svn r14603) -Fix [FS#2422]: the company ID is off-by-one w.r.t. to the rest of the GUI in the cheat window.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/cheat_gui.cpp
Show inline comments
 
@@ -165,7 +165,7 @@ struct CheatWindow : Window {
 

	
 
						/* Draw colored flag for change company cheat */
 
						case STR_CHEAT_CHANGE_COMPANY:
 
							SetDParam(0, val);
 
							SetDParam(0, val + 1);
 
							GetString(buf, STR_CHEAT_CHANGE_COMPANY, lastof(buf));
 
							DrawCompanyIcon(_current_company, 60 + GetStringBoundingBox(buf).width, y + 2);
 
							break;
0 comments (0 inline, 0 general)