void aClient::setData(const aClient *right)
{
- if (right != this)
+ if (right != this)
{
- strcpy(nick, right->nick);
- #ifdef P10
- strcpy(realnick, right->realnick);
- #endif
- if (right->stats)
- {
- if (!stats)
- stats = new Player;
- #ifdef DEBUGMODE
- log("Should be setting data for %s", right->stats->getName().c_str());
- #endif
-
- stats->setData(right->stats);
- }
+ strcpy(nick, right->nick);
+#ifdef P10
+ strcpy(realnick, right->realnick);
+#endif
+ if (right->stats)
+ {
+ if (!stats)
+ stats = new Player;
+#ifdef DEBUGMODE
+ log("Should be setting data for %s", right->stats->getName().c_str());
+#endif
+
+ stats->setData(right->stats);
+ }
}
}