@@ -305,7 +305,7 @@ struct workshop_hook : df::building_workshopst{
305305 typedef df::building_workshopst interpose_base;
306306 DEFINE_VMETHOD_INTERPOSE (void ,fillSidebarMenu,())
307307 {
308- CoreSuspendClaimer suspend;
308+ CoreSuspender suspend;
309309 color_ostream_proxy out (Core::getInstance ().getConsole ());
310310 bool call_native=true ;
311311 onWorkshopFillSidebarMenu (out,this ,&call_native);
@@ -320,7 +320,7 @@ struct furnace_hook : df::building_furnacest{
320320 typedef df::building_furnacest interpose_base;
321321 DEFINE_VMETHOD_INTERPOSE (void ,fillSidebarMenu,())
322322 {
323- CoreSuspendClaimer suspend;
323+ CoreSuspender suspend;
324324 color_ostream_proxy out (Core::getInstance ().getConsole ());
325325 bool call_native=true ;
326326 onWorkshopFillSidebarMenu (out,this ,&call_native);
@@ -351,7 +351,7 @@ struct product_hook : item_product {
351351 return ;
352352 }
353353 df::reaction* this_reaction=product->react ;
354- CoreSuspendClaimer suspend;
354+ CoreSuspender suspend;
355355 bool call_native=true ;
356356 onReactionCompleting (out,this_reaction,(df::reaction_product_itemst*)this ,unit,in_items,in_reag,out_items,&call_native);
357357 if (!call_native)
@@ -375,7 +375,7 @@ struct item_hooks :df::item_actual {
375375
376376 DEFINE_VMETHOD_INTERPOSE (void , contaminateWound,(df::unit* unit, df::unit_wound* wound, int32_t a1, int16_t a2))
377377 {
378- CoreSuspendClaimer suspend;
378+ CoreSuspender suspend;
379379 color_ostream_proxy out (Core::getInstance ().getConsole ());
380380 onItemContaminateWound (out,this ,unit,wound,a1,a2);
381381 INTERPOSE_NEXT (contaminateWound)(unit,wound,a1,a2);
@@ -388,14 +388,14 @@ struct proj_item_hook: df::proj_itemst{
388388 typedef df::proj_itemst interpose_base;
389389 DEFINE_VMETHOD_INTERPOSE (bool ,checkImpact,(bool mode))
390390 {
391- CoreSuspendClaimer suspend;
391+ CoreSuspender suspend;
392392 color_ostream_proxy out (Core::getInstance ().getConsole ());
393393 onProjItemCheckImpact (out,this ,mode);
394394 return INTERPOSE_NEXT (checkImpact)(mode); // returns destroy item or not?
395395 }
396396 DEFINE_VMETHOD_INTERPOSE (bool ,checkMovement,())
397397 {
398- CoreSuspendClaimer suspend;
398+ CoreSuspender suspend;
399399 color_ostream_proxy out (Core::getInstance ().getConsole ());
400400 onProjItemCheckMovement (out,this );
401401 return INTERPOSE_NEXT (checkMovement)();
@@ -408,14 +408,14 @@ struct proj_unit_hook: df::proj_unitst{
408408 typedef df::proj_unitst interpose_base;
409409 DEFINE_VMETHOD_INTERPOSE (bool ,checkImpact,(bool mode))
410410 {
411- CoreSuspendClaimer suspend;
411+ CoreSuspender suspend;
412412 color_ostream_proxy out (Core::getInstance ().getConsole ());
413413 onProjUnitCheckImpact (out,this ,mode);
414414 return INTERPOSE_NEXT (checkImpact)(mode); // returns destroy item or not?
415415 }
416416 DEFINE_VMETHOD_INTERPOSE (bool ,checkMovement,())
417417 {
418- CoreSuspendClaimer suspend;
418+ CoreSuspender suspend;
419419 color_ostream_proxy out (Core::getInstance ().getConsole ());
420420 onProjUnitCheckMovement (out,this );
421421 return INTERPOSE_NEXT (checkMovement)();
0 commit comments