From: <wel...@us...> - 2012-02-18 10:21:42
|
Revision: 8081 http://planeshift.svn.sourceforge.net/planeshift/?rev=8081&view=rev Author: weltall2 Date: 2012-02-18 10:21:35 +0000 (Sat, 18 Feb 2012) Log Message: ----------- increased time so npc don't move too much Modified Paths: -------------- trunk/src/client/gui/pawsnpcdialog.cpp Modified: trunk/src/client/gui/pawsnpcdialog.cpp =================================================================== --- trunk/src/client/gui/pawsnpcdialog.cpp 2012-02-13 10:31:11 UTC (rev 8080) +++ trunk/src/client/gui/pawsnpcdialog.cpp 2012-02-18 10:21:35 UTC (rev 8081) @@ -40,6 +40,7 @@ * -fix handling of free text and questions * -fix the graphics of the chat bubbles generically * -add support for numkey/enter action on the list version + * -fix the spelling of the widget name */ pawsNpcDialogWindow::pawsNpcDialogWindow() @@ -71,8 +72,9 @@ void pawsNpcDialogWindow::Draw() { - if(useBubbles && ticks != 0 && csGetTicks()-ticks > 5000) - {//let this dialog invisible after 5 secs when npc finishes his speech + if(useBubbles && ticks != 0 && csGetTicks()-ticks > 12000) + {//let this dialog invisible after 12 secs when npc finishes his speech + //equal to the long chatbubble longphrase lenght for now. SetVisibility(false); FindWidget("SpeckBubble")->SetVisibility(false); ticks = 0; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |