(svn r5404) Fix (r5391) : Yet another typo. Nothing specatular :)
authorbelugas
Wed, 28 Jun 2006 17:46:55 +0000
changeset 4088 0e24143dec6b
parent 4087 5ae6c880d66c
child 4089 f46bb713cde6
(svn r5404) Fix (r5391) : Yet another typo. Nothing specatular :)
Spotted by gigajum
train_gui.c
--- a/train_gui.c	Wed Jun 28 17:33:04 2006 +0000
+++ b/train_gui.c	Wed Jun 28 17:46:55 2006 +0000
@@ -1506,7 +1506,7 @@
 			break;
 
 		case 10:
-			if (IsWindowOfPrototype(w, _player_trains_widgets)) break;
+			if (!IsWindowOfPrototype(w, _player_trains_widgets)) break;
 			ShowReplaceVehicleWindow(VEH_Train);
 			break;