From abf567b36fbaf67233c20345342536f754ae65ac Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Mon, 9 Jun 2014 17:03:27 +0200 Subject: Remove unused HOOK_REDRAW --- src/defines.h | 1 - src/xtra1.cc | 4 ---- 2 files changed, 5 deletions(-) diff --git a/src/defines.h b/src/defines.h index 3ef8d0a5..784cc00a 100644 --- a/src/defines.h +++ b/src/defines.h @@ -4407,7 +4407,6 @@ #define HOOK_STORE_STOCK 47 #define HOOK_GEN_LEVEL_BEGIN 49 #define HOOK_GET 50 -#define HOOK_REDRAW 51 #define HOOK_RECALC_SKILLS 52 #define HOOK_ENTER_DUNGEON 53 #define HOOK_FIRE 54 diff --git a/src/xtra1.cc b/src/xtra1.cc index 6e1539e6..1d07403d 100644 --- a/src/xtra1.cc +++ b/src/xtra1.cc @@ -4272,10 +4272,6 @@ void redraw_stuff(void) if (character_icky) return; - /* Should we tell lua to redisplay too ? */ - process_hooks(HOOK_REDRAW, "()"); - - /* Hack -- clear the screen */ if (p_ptr->redraw & (PR_WIPE)) { -- cgit v1.2.3