equal
deleted
inserted
replaced
159 if (w->disabled_state & (1<<12)) |
159 if (w->disabled_state & (1<<12)) |
160 return; |
160 return; |
161 SetWindowDirty(w); |
161 SetWindowDirty(w); |
162 SndPlayFx(0x13); |
162 SndPlayFx(0x13); |
163 _thd.make_square_red = !!((w->click_state ^= (1 << 12)) & (1<<12)); |
163 _thd.make_square_red = !!((w->click_state ^= (1 << 12)) & (1<<12)); |
|
164 MarkTileDirty(_thd.pos.x, _thd.pos.y); |
164 } |
165 } |
165 |
166 |
166 static void BuildRoadClick_Purchase(Window *w) |
167 static void BuildRoadClick_Purchase(Window *w) |
167 { |
168 { |
168 HandlePlacePushButton(w, 13, 0x12B8, 1, PlaceProc_BuyLand); |
169 HandlePlacePushButton(w, 13, 0x12B8, 1, PlaceProc_BuyLand); |