[Fix] type trying to enable a button.
This commit is contained in:
parent
4b70ff9137
commit
25cd9e3ae5
@ -254,7 +254,7 @@ static void outfits(void) {
|
||||
"Close", outfits_close);
|
||||
|
||||
window_addButton(secondary_wid, -40-BUTTON_WIDTH, 40+BUTTON_HEIGHT,
|
||||
BUTTON_WIDTH, BUTTON_HEIGHT, "btnBuyOutfits",
|
||||
BUTTON_WIDTH, BUTTON_HEIGHT, "btnBuyOutfit",
|
||||
"Buy", outfits_buy);
|
||||
|
||||
window_addButton(secondary_wid, -40-BUTTON_WIDTH, 20,
|
||||
|
@ -38,7 +38,7 @@ static int save_data(xmlTextWriterPtr writer) {
|
||||
if(missions_saveActive(writer) < 0) return -1;
|
||||
if(var_save(writer) < 0) return -1;
|
||||
if(pfaction_save(writer) < 0) return -1;
|
||||
|
||||
if(hook_save(writer) < 0) return -1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user