(svn r3185) const

This commit is contained in:
tron
2005-11-15 09:00:02 +00:00
parent 1b0091e0d2
commit b9729fb72e
8 changed files with 12 additions and 12 deletions

View File

@@ -1020,11 +1020,11 @@ void GameLoop(void)
void BeforeSaveGame(void)
{
Window *w = FindWindowById(WC_MAIN_WINDOW, 0);
const Window* w = FindWindowById(WC_MAIN_WINDOW, 0);
if (w != NULL) {
_saved_scrollpos_x = WP(w,vp_d).scrollpos_x;
_saved_scrollpos_y = WP(w,vp_d).scrollpos_y;
_saved_scrollpos_x = WP(w, const vp_d).scrollpos_x;
_saved_scrollpos_y = WP(w, const vp_d).scrollpos_y;
_saved_scrollpos_zoom = w->viewport->zoom;
}
}