fixup a warning (c++11 unused variable)
This commit is contained in:
parent
2f160de8a5
commit
5a8485d225
2 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue