CHINESE: actually display BobbyR amount purchased correctly at runtime (#398)

* Revert "Move CHINESE BOBBYR_ITEMS_BOUGHT_X conditional definition to i18n"

This reverts commit ecdc8916f2.

* actually display the amount purchased correctly at runtime
This commit is contained in:
majcosta
2025-01-03 21:03:09 -03:00
committed by GitHub
parent 846abf5f1c
commit 4a16698cdb
4 changed files with 8 additions and 13 deletions
-9
View File
@@ -1,8 +1,5 @@
#include <language.hpp>
#include <BobbyR.h>
#include <laptop.h>
/* FIXME: The ugliest of ugly hacks. Getting rid of this and letting language
* (ideally text and voice separately) be set in the options menu would be
* ideal. */
@@ -34,12 +31,6 @@ const int MAX_MESSAGES_ON_MAP_BOTTOM{
#endif
};
const int BOBBYR_ITEMS_BOUGHT_X{BOBBYR_GRIDLOC_X + 105 - BOBBYR_ORDER_NUM_WIDTH
#ifdef CHINESE
- 10
#endif
};
auto GetLanguagePrefix() -> const STR {
return
#if defined(ENGLISH)