Tags: patch

Hello. I am here to say two things.

1) 'c' isn't the only button that causes ppracer to crash at the race
select screen. 'm' and 'w' also cause it to crash.

2) I fixed it. You're welcome.

Here is the patch:

diff -r ppracer-0.3.1/src/event_race_select.cpp 
ppracer-mod-0.3.1/src/event_race_select.cpp
450,458d449
<               case 'c': 
<               mp_conditionsSSBtn->simulateMouseClick();
<               return true;
<               case 'w': 
<               mp_windSSBtn->simulateMouseClick();
<               return true;
<               case 'm':
<               mp_mirrorSSBtn->simulateMouseClick();
<               return true;
diff -r ppracer-0.3.1/src/race_select.cpp ppracer-mod-0.3.1/src/race_select.cpp
445,453d444
<               case 'c': 
<               mp_conditionsSSBtn->simulateMouseClick();
<               return true;
<               case 'w': 
<               mp_windSSBtn->simulateMouseClick();
<               return true;
<               case 'm':
<               mp_mirrorSSBtn->simulateMouseClick();
<               return true;

A few things to note. This patch is against the original source, not debian's 
modified source. Also, i haven't notified the upstream authors, because their 
site is down right now. I'll see about taking care of that later. I haven't 
tested this extensively enough to assure that there are no adverse side 
effects. But I doubt there will be. I think the problem is that these buttons, 
wind, mirror, and condition, do not exist in this version.

My name is Winter Knight. :)

-Winter Knight


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to