diff options
Diffstat (limited to 'apps/plugins/chopper.c')
-rw-r--r-- | apps/plugins/chopper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/chopper.c b/apps/plugins/chopper.c index 2ab7c09d1c..09d281ea81 100644 --- a/apps/plugins/chopper.c +++ b/apps/plugins/chopper.c | |||
@@ -125,7 +125,7 @@ Still To do: | |||
125 | #endif | 125 | #endif |
126 | #endif | 126 | #endif |
127 | 127 | ||
128 | static struct plugin_api* rb; | 128 | static const struct plugin_api* rb; |
129 | 129 | ||
130 | #define NUMBER_OF_BLOCKS 8 | 130 | #define NUMBER_OF_BLOCKS 8 |
131 | #define NUMBER_OF_PARTICLES 3 | 131 | #define NUMBER_OF_PARTICLES 3 |
@@ -979,7 +979,7 @@ void chopper_load(bool newgame) | |||
979 | } | 979 | } |
980 | 980 | ||
981 | /* this is the plugin entry point */ | 981 | /* this is the plugin entry point */ |
982 | enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | 982 | enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter) |
983 | { | 983 | { |
984 | (void)parameter; | 984 | (void)parameter; |
985 | rb = api; | 985 | rb = api; |