X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FUser%2FSettings.cpp;h=2b4dadc872a7661c9be3ac22e60756a3b51cbc46;hb=91a44029744d973bf72d9dda7ffc13d6e9fb7130;hp=5f7909ef20c3e8a60f465df80237a374c016e31e;hpb=ed3662c0852c4312a612b4fc35bd03aba8d13db7;p=lugaru.git diff --git a/Source/User/Settings.cpp b/Source/User/Settings.cpp index 5f7909e..2b4dadc 100644 --- a/Source/User/Settings.cpp +++ b/Source/User/Settings.cpp @@ -62,7 +62,7 @@ void DefaultSettings() rightkey = SDL_SCANCODE_D; drawkey = SDL_SCANCODE_E; throwkey = SDL_SCANCODE_Q; - attackkey = MOUSEBUTTON1; + attackkey = MOUSEBUTTON_LEFT; consolekey = SDL_SCANCODE_GRAVE; newdetail = detail; @@ -241,7 +241,7 @@ bool LoadSettings() ipstream >> damageeffects; } else if ( !strncmp(setting, "Text", 4) ) { ipstream >> texttoggle; - } else if ( !strncmp(setting, "Devtools", 5) ) { + } else if ( !strncmp(setting, "Devtools", 6) ) { ipstream >> devtools; } else if ( !strncmp(setting, "Show Points", 11) ) { ipstream >> showpoints;