Added fire staff cmd. Fire staff wind complete.

This commit is contained in:
Duncan 2014-10-08 12:50:56 +01:00 committed by Duncan Frost
parent af6926350e
commit 252d7f7987
1 changed files with 3 additions and 1 deletions

View File

@ -118,9 +118,11 @@ static void window_staff_fire_mouseup(){
window_widget_get_registers(w, widgetIndex);
rct_peep* peep = &g_sprite_list[w->number].peep;
switch (widgetIndex){
case WIDX_YES:
//6c0b5b
game_do_command(peep->x, 1, peep->y, w->number, GAME_COMMAND_31, 0, 0);
break;
case WIDX_CANCEL:
case WIDX_CLOSE: