diff --git a/src/display.cpp b/src/display.cpp index 795166cb99a..c80bc9c2403 100644 --- a/src/display.cpp +++ b/src/display.cpp @@ -536,7 +536,7 @@ void display::draw_game_status(int x, int y) if(tod_surface != NULL) { //hardcoded values as to where the time of day image appears blit_surface(mapx() + TimeOfDay_x,TimeOfDay_y,tod_surface); - update_rect(TimeOfDay_x,TimeOfDay_y,tod_surface->w,tod_surface->h); + update_rect(mapx() + TimeOfDay_x,TimeOfDay_y,tod_surface->w,tod_surface->h); } if(gameStatusRect_.w > 0) { diff --git a/src/playturn.cpp b/src/playturn.cpp index 894a3a8dd25..ca189f3c04f 100644 --- a/src/playturn.cpp +++ b/src/playturn.cpp @@ -177,7 +177,7 @@ int turn_info::send_data(int first_command) void turn_info::handle_event(const SDL_Event& event) { - if(gui::in_dialog()) + if(gui::in_dialog() || commands_disabled) return; switch(event.type) {