[Fix] type trying to enable a button.

This commit is contained in:
Allanis 2013-06-15 20:29:11 +01:00
parent 4b70ff9137
commit 25cd9e3ae5
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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;
}