fixup a warning (c++11 unused variable)

This commit is contained in:
Chris Beck 2014-11-04 12:45:25 -05:00
parent 2f160de8a5
commit 5a8485d225
2 changed files with 1 additions and 3 deletions

View file

@ -265,7 +265,7 @@ public:
int hex_size() const { return zoom_; }
/** Returns the current zoom factor. */
double get_zoom_factor() const { return double(zoom_)/double(image::tile_size); }
double get_zoom_factor() const { return double(zoom_)/double(game_config::tile_size); }
/**
* given x,y co-ordinates of an onscreen pixel, will return the

View file

@ -28,8 +28,6 @@
///the surface corresponding to that image.
//
namespace image {
const int tile_size = game_config::tile_size;
template<typename T>
class cache_type;