Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
November 12, 2024, 09:43:08 pm
News:
If you can't login, please
contact us
with your username and e-mail so we can fix it.
Home
Help
Search
Calendar
Login
Register
OpenXcom Forum
»
Modding
»
OpenXcom Extended
»
OXCE Bugs
»
Armor button uses same element id as Ok button in InventoryState
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Armor button uses same element id as Ok button in InventoryState (Read 120 times)
zRrr
Sergeant
Posts: 31
Armor button uses same element id as Ok button in InventoryState
«
on:
November 04, 2024, 07:00:02 pm »
In
Battlescape/InventoryState.cpp
_btnArmor uses same element id as _btnOk, so when I move Ok button with ruleset like
Code:
[Select]
interfaces:
- type: inventory
elements:
- id: buttonOK
pos: [213, 1]
armor selection also moves.
Logged
Meridian
Global Moderator
Commander
Posts: 9057
Re: Armor button uses same element id as Ok button in InventoryState
«
Reply #1 on:
November 04, 2024, 07:48:44 pm »
Many buttons on many GUIs in OXC and OXCE share the same interface element.
We're lazy to create a new interface element for each button.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
OpenXcom Forum
»
Modding
»
OpenXcom Extended
»
OXCE Bugs
»
Armor button uses same element id as Ok button in InventoryState