| 2503 | } |
| 2504 | |
| 2505 | void OperateSChambBk(int pnum, int i) |
| 2506 | { |
| 2507 | int j, textdef; |
| 2508 | |
| 2509 | if (object[i]._oSelFlag != 0 && !qtextflag) { |
| 2510 | if (object[i]._oAnimFrame != object[i]._oVar6) { |
| 2511 | ObjChangeMapResync(object[i]._oVar1, object[i]._oVar2, object[i]._oVar3, object[i]._oVar4); |
| 2512 | for (j = 0; j < nobjects; j++) |
| 2513 | SyncObjectAnim(objectactive[j]); |
| 2514 | } |
| 2515 | object[i]._oAnimFrame = object[i]._oVar6; |
| 2516 | if (quests[QTYPE_BONE]._qactive == 1) { |
| 2517 | quests[QTYPE_BONE]._qactive = 2; |
| 2518 | quests[QTYPE_BONE]._qlog = 1; |
| 2519 | } |
| 2520 | if (plr[myplr]._pClass == PC_WARRIOR) { |
| 2521 | textdef = QUEST_BONER; |
| 2522 | } else if (plr[myplr]._pClass == PC_ROGUE) { |
| 2523 | textdef = QUEST_RBONER; |
| 2524 | } else if (plr[myplr]._pClass == PC_SORCERER) { |
| 2525 | textdef = QUEST_MBONER; |
| 2526 | } |
| 2527 | quests[QTYPE_BONE]._qmsg = textdef; |
| 2528 | InitQTextMsg(textdef); |
| 2529 | } |
| 2530 | } |
| 2531 | |
| 2532 | void OperateChest(int pnum, int i, BOOL sendmsg) |
| 2533 | { |
no test coverage detected