My Day |
---|
Post nr: 829 Thread: [751] |
Author: hedda (As usual) | Posted: (6892 days ago) | Comment to: 826 by Nelúril |
Subject: And how strange is that... |
---|
Don't you have a good function to handle stuff like that? void do_exam(struct university * my_uni) { struct answers a; int errorcode=0; push_lazy_me_to_exam(this); a=pull_answer_from_pocket(this->pocket); errorcode=apply_answers(a, my_uni->examroom->exam); if (errorcode) { use_object(this->knife, my_uni->staff->examinator); return; } push(my_uni->examroom->exam); get_pissed(this, my_uni->bar); return; } |
Comment in 831 |