I am a dumb fuck

where the fuck are these LANG_ defines from, winapi?
This commit is contained in:
fgsfds 2020-06-23 03:38:04 +03:00
parent 1ba31e1266
commit 613a23e5e3
1 changed files with 7 additions and 6 deletions

View File

@ -6,6 +6,7 @@
#include "macros.h"
#include "PR/ultratypes.h"
#include "game/memory.h"
#include "game/save_file.h"
#include "pc/configfile.h"
#include "discordrpc.h"
@ -160,13 +161,13 @@ static void set_details(void) {
courseNameTbl = segmented_to_virtual(seg2_course_name_table);
#else
switch (gInGameLanguage) {
case LANG_ENGLISH:
case LANGUAGE_ENGLISH:
courseNameTbl = segmented_to_virtual(course_name_table_eu_en);
break;
case LANG_FRENCH:
case LANGUAGE_FRENCH:
courseNameTbl = segmented_to_virtual(course_name_table_eu_fr);
break;
case LANG_GERMAN:
case LANGUAGE_GERMAN:
courseNameTbl = segmented_to_virtual(course_name_table_eu_de);
break;
}
@ -193,13 +194,13 @@ static void set_state(void) {
actNameTbl = segmented_to_virtual(seg2_act_name_table);
#else
switch (gInGameLanguage) {
case LANG_ENGLISH:
case LANGUAGE_ENGLISH:
actNameTbl = segmented_to_virtual(act_name_table_eu_en);
break;
case LANG_FRENCH:
case LANGUAGE_FRENCH:
actNameTbl = segmented_to_virtual(act_name_table_eu_fr);
break;
case LANG_GERMAN:
case LANGUAGE_GERMAN:
actNameTbl = segmented_to_virtual(act_name_table_eu_de);
break;
}