Changeset 1034 for trunk/core/kbd.c
- Timestamp:
- 01/09/11 02:59:52 (2 years ago)
- File:
-
- 1 edited
-
trunk/core/kbd.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/kbd.c
r1032 r1034 107 107 #endif 108 108 109 #ifdef OPT_SCRIPTING 109 110 // remote autostart 110 111 void script_autostart() … … 116 117 script_start_gui( 1 ); 117 118 } 119 #endif 120 118 121 void exit_alt() 119 122 { … … 234 237 } 235 238 /*-------------------- Alex scriptless remote additions end ---------------------*/ 239 #ifdef OPT_SCRIPTING 236 240 if (kbd_is_key_pressed(KEY_SHOOT_FULL)) { 237 241 key_pressed = 100; … … 241 245 script_console_add_line(lang_str(LANG_CONSOLE_TEXT_INTERRUPTED)); 242 246 script_end(); 243 } else if (L) { 247 } 248 #ifdef OPT_LUA 249 else if (L) { 244 250 state_kbd_script_run = 2; 245 251 lua_run_restore(); 246 252 script_console_add_line(lang_str(LANG_CONSOLE_TEXT_INTERRUPTED)); 247 253 script_end(); 248 } else { 254 } 255 #endif 256 #ifdef OPT_UBASIC 257 else { 249 258 state_kbd_script_run = 2; 250 259 if (jump_label("restore") == 0) { … … 253 262 } 254 263 } 255 } 264 #endif 265 } 266 #endif 256 267 257 268 action_stack_process_all();
Note: See TracChangeset
for help on using the changeset viewer.