summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 19:23:34 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 20:18:11 +0100
commitff5e1957dd4fde40e41e4c5e4b9e04e1f36e5ef2 (patch)
treeeba1b1374325047de928490f96fc16cbf5477d70 /src/game.cpp
parent74f23fd3d0e1fb3be8e5419193d57d91746c887a (diff)
downloadmana-ff5e1957dd4fde40e41e4c5e4b9e04e1f36e5ef2.tar.gz
mana-ff5e1957dd4fde40e41e4c5e4b9e04e1f36e5ef2.tar.bz2
mana-ff5e1957dd4fde40e41e4c5e4b9e04e1f36e5ef2.tar.xz
mana-ff5e1957dd4fde40e41e4c5e4b9e04e1f36e5ef2.zip
Removed unnecessary parenthesis on constructors
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 91d8fa3a..4687ed1f 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -255,12 +255,12 @@ void createGuiWindows(Network *network)
npcIntegerDialog = new NpcIntegerDialog;
npcListDialog = new NpcListDialog;
npcStringDialog = new NpcStringDialog;
- npcPostDialog = new NpcPostDialog();
- magicDialog = new MagicDialog();
+ npcPostDialog = new NpcPostDialog;
+ magicDialog = new MagicDialog;
equipmentWindow = new EquipmentWindow(player_node->mEquipment.get());
- buddyWindow = new BuddyWindow();
- guildWindow = new GuildWindow();
- partyWindow = new PartyWindow();
+ buddyWindow = new BuddyWindow;
+ guildWindow = new GuildWindow;
+ partyWindow = new PartyWindow;
#else
chatWindow = new ChatWindow(network);
buyDialog = new BuyDialog(network);
@@ -369,10 +369,10 @@ void destroyGuiWindows()
#ifdef TMWSERV_SUPPORT
Game::Game():
- mBeingHandler(new BeingHandler()),
- mGuildHandler(new GuildHandler()),
- mPartyHandler(new PartyHandler()),
- mEffectHandler(new EffectHandler()),
+ mBeingHandler(new BeingHandler),
+ mGuildHandler(new GuildHandler),
+ mPartyHandler(new PartyHandler),
+ mEffectHandler(new EffectHandler),
#else
Game::Game(Network *network):
mNetwork(network),
@@ -397,7 +397,7 @@ Game::Game(Network *network):
engine = new Engine;
beingManager = new BeingManager;
- commandHandler = new CommandHandler();
+ commandHandler = new CommandHandler;
#else
createGuiWindows(network);
engine = new Engine(network);
@@ -407,7 +407,7 @@ Game::Game(Network *network):
#endif
floorItemManager = new FloorItemManager;
- channelManager = new ChannelManager();
+ channelManager = new ChannelManager;
effectManager = new EffectManager;
particleEngine = new Particle(NULL);