diff --git a/basegraph.cpp b/basegraph.cpp index 8b874c60..7ee7e632 100644 --- a/basegraph.cpp +++ b/basegraph.cpp @@ -939,6 +939,8 @@ void IMAGESAVE(SDL_Surface *s, const char *fname) { } #endif +hookset *hooks_hqshot; + #if CAP_SDL void saveHighQualityShot(const char *fname, const char *caption, int fade) { @@ -988,6 +990,8 @@ void saveHighQualityShot(const char *fname, const char *caption, int fade) { SDL_FillRect(s, NULL, numi==1 ? backcolor : i ? 0xFFFFFF : 0); drawfullmap(); + callhooks(hooks_hqshot, s); + if(fade < 255) for(int y=0; y