[Fix] Potential seg fault.
This commit is contained in:
parent
eff5850957
commit
88b2f1b714
@ -78,7 +78,7 @@ void conf_setDefaults(void) {
|
||||
data = DATA_DEF;
|
||||
// GL.
|
||||
gl_screen.w = 800;
|
||||
gl_screen.h = 640;
|
||||
gl_screen.h = 600;
|
||||
gl_screen.flags = 0;
|
||||
// Openal.
|
||||
nosound = 1; // TODO: make sound default when it's sane again.
|
||||
|
@ -122,7 +122,7 @@ void input_setKeybind(char* keybind, KeybindType type, int key, int reverse) {
|
||||
#define INGAME() (!toolkit)
|
||||
// We won't be having any more funny stuff from VLack..
|
||||
#define NOHYP() \
|
||||
(!pilot_isFlag(player, PILOT_HYP_PREP) && \
|
||||
(player && !pilot_isFlag(player, PILOT_HYP_PREP) && \
|
||||
!pilot_isFlag(player, PILOT_HYP_BEGIN) && \
|
||||
!pilot_isFlag(player, PILOT_HYPERSPACE))
|
||||
static void input_key(int keynum, double value, int abs) {
|
||||
|
Loading…
Reference in New Issue
Block a user