Times are UTC Toggle Colours
00:58:42 *** welshdragon has joined #openttd.dev 01:19:55 *** welshdragon has quit IRC 06:48:33 *** Supercheese has left #openttd.dev 06:48:37 *** adf88 has joined #openttd.dev 06:48:37 *** ChanServ sets mode: +v adf88 07:29:31 *** adf88 has quit IRC 07:44:04 *** adf88 has joined #openttd.dev 07:44:04 *** ChanServ sets mode: +v adf88 11:34:47 *** frosch123 has joined #openttd.dev 11:34:47 *** ChanServ sets mode: +v frosch123 11:53:38 <adf88> there are few lines of dead code in town_cmd.cpp 11:53:53 <adf88> they can be removed 11:53:54 <adf88> http://pastebin.com/X4ZcmAGj 11:54:15 <adf88> since "DoCommand(tile, 0, 0, DC_AUTO | DC_NO_WATER, CMD_LANDSCAPE_CLEAR)" 11:54:37 <adf88> will make sure that the tile is empty (the DC_AUTO flag) 11:55:39 <adf88> (see ClearTile_Town: http://hg.openttd.org/trunk.hg/file/e9f2d6e79dfb/src/town_cmd.cpp#l551) 12:04:51 <adf88> after removing the lines, the code can be further simplified: 12:08:51 <adf88> (all in one): http://pastebin.com/xm4rRc08 12:27:29 <adf88> I didn't bring it before because I wasn't sure 12:28:07 <adf88> but after spending some time with town_cmd.cpp now I'm sure ;) 12:29:28 *** aard has joined #openttd.dev 12:50:58 <frosch123> @commit 12162 12:50:58 <DorpsGek> frosch123: Commit by smatz :: r12162 trunk/src/town_cmd.cpp (2008-02-16 18:54:29 +0100 ) 12:50:59 <DorpsGek> frosch123: -Fix [FS#1757]: towns shouldn't build over houses owned by another town 12:51:04 <frosch123> funny, isn't it :) 12:59:24 <adf88> ClearTile_Town changed too 12:59:39 <frosch123> the DC_AUTO was already present back then 13:07:40 <adf88> it seems that problem was fixed some revisions before 13:07:50 <adf88> and the "fix" didn't fix anything 13:13:16 *** DorpsGek changes topic to "OpenTTD Dev Channel || Latest SVN: r27739 || Logs: http://webster.openttdcoop.org/?channel=openttd.dev || Voice (talk-right) upon request via #openttd; make sure you are registered to NickServ before asking" 13:38:07 *** welshdragon has joined #openttd.dev 13:46:30 *** welshdragon has quit IRC 13:47:48 *** welshdragon has joined #openttd.dev 13:52:00 *** welshdragon has quit IRC 13:52:46 *** welshdragon has joined #openttd.dev 14:00:50 *** welshdragon has quit IRC 14:09:50 *** welshdragon has joined #openttd.dev 14:58:06 *** adf88 has quit IRC 15:35:12 *** aard has quit IRC 15:39:50 *** welshdragon has quit IRC 15:40:11 *** welshdragon has joined #openttd.dev 15:51:59 *** aard has joined #openttd.dev 16:06:50 *** welshdragon has quit IRC 16:10:32 *** aard has quit IRC 16:52:26 *** frosch has joined #openttd.dev 16:57:05 *** frosch123 has quit IRC 17:20:10 *** welshdragon has joined #openttd.dev 18:38:25 *** welshdragon has quit IRC 19:56:27 *** Supercheese has joined #openttd.dev 19:56:27 *** ChanServ sets mode: +v Supercheese 20:23:02 *** welshdragon has joined #openttd.dev 20:30:27 *** frosch has quit IRC 20:55:50 *** welshdragon has quit IRC 20:55:50 *** sim642 has quit IRC 20:56:53 *** welshdragon has joined #openttd.dev 20:59:38 *** welshdragon has quit IRC 21:00:28 *** welshdragon has joined #openttd.dev 23:19:20 *** welshdragon has quit IRC