Fix Windows build

This commit is contained in:
2015-07-28 21:49:38 -04:00
committed by Celtic Minstrel
parent 7655e5cc81
commit db2ecd2e79
4 changed files with 1 additions and 1 deletions

View File

@@ -662,7 +662,7 @@ void draw_buttons(short mode) {
};
extern rectangle bottom_buttons[MAX_TOOLBAR_BUTTONS];
auto& toolbar = is_combat() ? combat_buttons : (is_town() ? town_buttons : out_buttons);
const location* toolbar = is_combat() ? combat_buttons : (is_town() ? town_buttons : out_buttons);
static bool inited = false;
static sf::RenderTexture button_gw;