Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3e402fa

Browse files
committed
Remove left over handlers from eventful
1 parent e4ae1c1 commit 3e402fa

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

plugins/eventful.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,6 @@ static bool is_lua_hook(const std::string &name)
9292
/*
9393
* Hooks
9494
*/
95-
static void handle_fillsidebar(color_ostream &out,df::building_actual*,bool *call_native){};
96-
static void handle_postfillsidebar(color_ostream &out,df::building_actual*){};
9795

9896
DEFINE_LUA_EVENT_NH_2(onWorkshopFillSidebarMenu, df::building_actual*, bool*);
9997
DEFINE_LUA_EVENT_NH_1(postWorkshopFillSidebarMenu, df::building_actual*);
@@ -117,7 +115,7 @@ DEFINE_LUA_EVENT_NH_1(onInvasion, int32_t);
117115
DEFINE_LUA_EVENT_NH_4(onInventoryChange, int32_t, int32_t, df::unit_inventory_item*, df::unit_inventory_item*);
118116
DEFINE_LUA_EVENT_NH_1(onReport, int32_t);
119117
DEFINE_LUA_EVENT_NH_3(onUnitAttack, int32_t, int32_t, int32_t);
120-
DEFINE_LUA_EVENT_NH_0(onUnload, std::string, std::string, int32_t, int32_t, int32_t, int32_t);
118+
DEFINE_LUA_EVENT_NH_0(onUnload);
121119
DEFINE_LUA_EVENT_NH_6(onInteraction, std::string, std::string, int32_t, int32_t, int32_t, int32_t);
122120

123121
DFHACK_PLUGIN_LUA_EVENTS {

0 commit comments

Comments
 (0)