From 6c44bf50128ccd39a5ba7ba3298634d1298cab03 Mon Sep 17 00:00:00 2001 From: celestar Date: Wed, 29 Mar 2006 16:30:26 +0000 Subject: (svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of code and proofreading, thanks to peter1138 for another lot of code and ideas. --- player.h | 1 + 1 file changed, 1 insertion(+) (limited to 'player.h') diff --git a/player.h b/player.h index 3195e1c7f..ebc42646d 100644 --- a/player.h +++ b/player.h @@ -248,6 +248,7 @@ static inline RailType GetBestRailtype(const Player* p) { if (HasRailtypeAvail(p, RAILTYPE_MAGLEV)) return RAILTYPE_MAGLEV; if (HasRailtypeAvail(p, RAILTYPE_MONO)) return RAILTYPE_MONO; + if (HasRailtypeAvail(p, RAILTYPE_ELECTRIC)) return RAILTYPE_ELECTRIC; return RAILTYPE_RAIL; } -- cgit v1.2.3-54-g00ecf