diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2011-12-17 21:30:00 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2011-12-17 21:30:00 (GMT) |
| commit | 8ae0384f09f8f94eb9cc3f07e235114e5d589b36 (patch) | |
| tree | 6060931a0e591127527fb883ec2e6bddc8565590 /src/main.c | |
| parent | 03352ca1f4115eff5efac7547c3e507bce656496 (diff) | |
| download | powder-8ae0384f09f8f94eb9cc3f07e235114e5d589b36.zip powder-8ae0384f09f8f94eb9cc3f07e235114e5d589b36.tar.gz | |
Add option for lua parts array to use native data using ffi
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1666,9 +1666,6 @@ int main(int argc, char *argv[]) fmt.callback = mixaudio; fmt.userdata = NULL; -#ifdef LUACONSOLE - luacon_open(); -#endif #ifdef MT numCores = core_count(); #endif @@ -1679,6 +1676,10 @@ int main(int argc, char *argv[]) init_can_move(); clear_sim(); +#ifdef LUACONSOLE + luacon_open(); +#endif + colour_mode = COLOUR_DEFAULT; init_display_modes(); |
