Fixup build again

This commit is contained in:
Charles Dang 2018-03-19 01:54:31 +11:00
parent af4db845d6
commit 7f81fba11a

View file

@ -735,7 +735,7 @@ surface display::screenshot(bool map_screenshot)
{
if (!map_screenshot) {
// Use make_neutral_surface() to copy surface content
return make_neutral_surface(screen_.getSurface());
return make_neutral_surface(video_.getSurface());
} else {
if (get_map().empty()) {
ERR_DP << "No map loaded, cannot create a map screenshot.\n";