newgrf.c
changeset 4077 d3022f976946
parent 3997 29c77eab14a4
child 4138 15f4aa024ad4
--- a/newgrf.c	Tue Jun 27 18:27:58 2006 +0000
+++ b/newgrf.c	Tue Jun 27 21:25:53 2006 +0000
@@ -2467,17 +2467,19 @@
 			break;
 
 		case 0x05:
-			if ((int32)src2 < 0)
+			if ((int32)src2 < 0) {
 				res = src1 >> -(int32)src2;
-			else
+			} else {
 				res = src1 << src2;
+			}
 			break;
 
 		case 0x06:
-			if ((int32)src2 < 0)
+			if ((int32)src2 < 0) {
 				res = (int32)src1 >> -(int32)src2;
-			else
+			} else {
 				res = (int32)src1 << src2;
+			}
 			break;
 
 		case 0x07: /* Bitwise AND */