ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/player.C
(Generate patch)

Comparing deliantra/server/server/player.C (file contents):
Revision 1.35 by root, Thu Dec 14 00:01:35 2006 UTC vs.
Revision 1.36 by elmex, Thu Dec 14 00:08:52 2006 UTC

1061 { 1061 {
1062 char buf[MAX_BUF]; 1062 char buf[MAX_BUF];
1063 1063
1064 /* this must before then initial items are given */ 1064 /* this must before then initial items are given */
1065 esrv_new_player (op->contr, op->weight + op->carrying); 1065 esrv_new_player (op->contr, op->weight + op->carrying);
1066
1066 create_treasure (find_treasurelist ("starting_wealth"), op, 0, 0, 0); 1067 treasurelist *tl = find_treasurelist ("starting_wealth");
1068 if (tl)
1069 create_treasure (tl, op, 0, 0, 0);
1067 1070
1068 INVOKE_PLAYER (BIRTH, op->contr); 1071 INVOKE_PLAYER (BIRTH, op->contr);
1069 INVOKE_PLAYER (LOGIN, op->contr); 1072 INVOKE_PLAYER (LOGIN, op->contr);
1070 1073
1071 op->contr->state = ST_PLAYING; 1074 op->contr->state = ST_PLAYING;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines