comparison Party.cpp @ 593:8ef867ae88b9

.
author Nomad
date Wed, 06 Mar 2013 16:12:38 +0200
parents 96f48cfdd657
children deb559e4fe47
comparison
equal deleted inserted replaced
592:96f48cfdd657 593:8ef867ae88b9
196 return 0; 196 return 0;
197 } 197 }
198 198
199 199
200 //----- (00492AD5) -------------------------------------------------------- 200 //----- (00492AD5) --------------------------------------------------------
201 __int16 Party::SetFood(unsigned int uNumFood) 201 void Party::SetFood(unsigned int uNumFood)
202 { 202 {
203 pUIAnim_Food->uAnimTime = 0; 203 pUIAnim_Food->uAnimTime = 0;
204 pParty->uNumFoodRations = uNumFood; 204 pParty->uNumFoodRations = uNumFood;
205 pUIAnim_Food->uAnimLength = 8 * pIconsFrameTable->pIcons[pUIAnim_Food->uIconID].uAnimLength; 205 pUIAnim_Food->uAnimLength = 8 * pIconsFrameTable->pIcons[pUIAnim_Food->uIconID].uAnimLength;
206 } 206 }