| 2103 | } |
| 2104 | |
| 2105 | void S_SRepairEnter() |
| 2106 | { |
| 2107 | int idx; |
| 2108 | |
| 2109 | if (stextsel == 22) { |
| 2110 | StartStore(STORE_SMITH); |
| 2111 | stextsel = 18; |
| 2112 | } else { |
| 2113 | stextshold = STORE_SREPAIR; |
| 2114 | stextlhold = stextsel; |
| 2115 | stextvhold = stextsval; |
| 2116 | idx = stextsval + ((stextsel - stextup) >> 2); |
| 2117 | plr[myplr].HoldItem = storehold[idx]; |
| 2118 | if (plr[myplr]._pGold < storehold[idx]._iIvalue) |
| 2119 | StartStore(STORE_NOMONEY); |
| 2120 | else |
| 2121 | StartStore(STORE_CONFIRM); |
| 2122 | } |
| 2123 | } |
| 2124 | |
| 2125 | void S_WitchEnter() |
| 2126 | { |
no test coverage detected