~ubuntu-branches/ubuntu/vivid/manaplus/vivid

« back to all changes in this revision

Viewing changes to src/actions/windows.cpp

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2015-02-05 10:52:57 UTC
  • mfrom: (1.1.43)
  • Revision ID: package-import@ubuntu.com-20150205105257-q53e3m1s2wwawu8a
Tags: 1.5.1.31-1
* New upstream release.
* Fix some wildcard-matches-nothing-in-dep5-copyright warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include "actions/actiondef.h"
24
24
 
 
25
#include "being/localplayer.h"
 
26
 
25
27
#include "gui/dialogsmanager.h"
26
28
 
27
29
#include "gui/windows/bankwindow.h"
275
277
    return true;
276
278
}
277
279
 
 
280
impHandler0(cartWindowShow)
 
281
{
 
282
    if (!serverFeatures->haveCart()
 
283
        || !localPlayer
 
284
        || !localPlayer->getHaveCart())
 
285
    {
 
286
        return false;
 
287
    }
 
288
 
 
289
#ifdef EATHENA_SUPPORT
 
290
    showHideWindow(cartWindow);
 
291
#endif
 
292
    return true;
 
293
}
 
294
 
278
295
impHandler0(updaterWindowShow)
279
296
{
280
297
    if (updaterWindow)