Issue658

Title dialog: race condition / code not executed in written-down order?
Priority important Status open
Assigned To Keywords
Linked issues Watchers

Submitted on 2013-03-02 08h38 by matthiaskrgr, last changed by matthiaskrgr.

Files
File name Uploaded Type Edit Remove
sleep.patch matthiaskrgr, 2013-03-02.08:38:27 text/x-diff
Messages
Author: matthiaskrgr Date: 2013-03-02   08h38
Apply the attached patch to master (if it does not apply, try
ede30ed366e199e923999a913dc75d777109a5aa ).
Start a dialog with "Guy" on level 24.

It is clearly visible that tux is teleported BEFORE the tests are run, the npc
says something.

ede30ed366e199e923999a913dc75d777109a5aa

Attached sleep.patch.
Author: ahuillet Date: 2013-03-30   22h36
I am not sure that I understand where the incorrect behavior is. What do you
expect? What's actually happening instead?
Author: matthiaskrgr Date: 2013-03-31   00h07
according to code order:

1) "Guy" says stuff
2) sleep
3) tux gets teleported


what it looks like ingame

1) sleep
2) teleportation
3) "Guy" says stuff
History
Date User Action Args
2013-03-31 00:07:48matthiaskrgrsetmessages: + msg2471
2013-03-30 22:36:17ahuilletsetmessages: + msg2469
2013-03-02 08:38:28matthiaskrgrcreate