mirror of
https://github.com/glest/glest-source.git
synced 2025-08-08 17:36:30 +02:00
- only ask to save map when a change is made
This commit is contained in:
@@ -149,10 +149,15 @@ private:
|
||||
|
||||
bool fileLoaded;
|
||||
string mapFileLoaded;
|
||||
bool hasChanged;
|
||||
|
||||
public:
|
||||
MapPreview();
|
||||
~MapPreview();
|
||||
|
||||
bool getHasChanged() const { return hasChanged; }
|
||||
void setHasChanged(bool value) { hasChanged = value; }
|
||||
|
||||
float getHeight(int x, int y) const;
|
||||
bool isCliff(int x,int y);
|
||||
MapSurfaceType getSurface(int x, int y) const;
|
||||
|
Reference in New Issue
Block a user