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.38 by root, Thu Dec 14 04:30:32 2006 UTC vs.
Revision 1.39 by root, Thu Dec 14 14:23:09 2006 UTC

234 op->speed_left = 0.5; 234 op->speed_left = 0.5;
235 op->speed = 1.0; 235 op->speed = 1.0;
236 op->direction = 5; /* So player faces south */ 236 op->direction = 5; /* So player faces south */
237 op->stats.wc = 2; 237 op->stats.wc = 2;
238 op->run_away = 25; /* Then we panick... */ 238 op->run_away = 25; /* Then we panick... */
239
240 {
241 int oldmon = p->socket->monitor_spells; // what a hack
239 p->socket->monitor_spells = 0; /* Needed because esrv_update_spells( ) gets called by roll_stats */ 242 p->socket->monitor_spells = 0; /* Needed because esrv_update_spells( ) gets called by roll_stats */
240
241 roll_stats (op); 243 roll_stats (op);
244 p->socket->monitor_spells = oldmon;
245 }
242 p->state = ST_ROLL_STAT; 246 p->state = ST_ROLL_STAT;
243 clear_los (op); 247 clear_los (op);
244 248
245 p->gen_sp_armour = 10; 249 p->gen_sp_armour = 10;
246 p->last_speed = -1; 250 p->last_speed = -1;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines