From ef3bab249a0ceb1d18dd4871b3a888098270cf8a Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Tue, 25 Oct 2011 11:40:41 +0100 Subject: [PATCH] Fix syntax errors --- includes/interface.h | 2 +- includes/powder.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/interface.h b/includes/interface.h index a8a511e8b..0a1cd44eb 100644 --- a/includes/interface.h +++ b/includes/interface.h @@ -69,7 +69,7 @@ static menu_section msections[] = //doshow does not do anything currently. {"\xC8", "Cracker!", 0, 0}, }; -static quick_option quickmenu[] = //doshow does not do anything currently. +static quick_option quickmenu[] = { {"P", "Sand effect", QM_TOGGLE, &pretty_powder}, {"G", "Draw gravity grid", QM_TOGGLE, &drawgrav_enable}, diff --git a/includes/powder.h b/includes/powder.h index 66246c80d..396efb107 100644 --- a/includes/powder.h +++ b/includes/powder.h @@ -307,7 +307,7 @@ int graphics_COAL(GRAPHICS_FUNC_ARGS); int graphics_STKM(GRAPHICS_FUNC_ARGS); int graphics_STKM2(GRAPHICS_FUNC_ARGS); int graphics_DEST(GRAPHICS_FUNC_ARGS); -int graphics_EMP(GRAPHICS_FUNC_ARGS; +int graphics_EMP(GRAPHICS_FUNC_ARGS); int graphics_LIGH(GRAPHICS_FUNC_ARGS); #define UPDATE_FUNC_ARGS int i, int x, int y, int surround_space, int nt