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

Comparing deliantra/server/common/player.C (file contents):
Revision 1.52 by root, Wed Sep 16 23:33:24 2009 UTC vs.
Revision 1.53 by root, Thu Sep 17 00:07:04 2009 UTC

409 { 409 {
410 cfpod = expand_cfpod (pl, nest, cfpod, end); 410 cfpod = expand_cfpod (pl, nest, cfpod, end);
411 nest.clear (); 411 nest.clear ();
412 412
413 if (pl->hintmode == 1) 413 if (pl->hintmode == 1)
414 buf << "<fg name=\"lightblue\">[Hint suppressed, see hintmode]</fg>"; 414 buf << "<fg name=\"lightblue\">[Hint available]</fg>";
415 else 415 else
416 while (*cfpod == ' ') // eat trailing whitespace 416 while (*cfpod <= ' '&& *cfpod) // eat trailing whitespace
417 ++cfpod; 417 ++cfpod;
418 418
419 goto skip; 419 goto skip;
420 } 420 }
421 else 421 else
422 { 422 {
423 pfx = "<fg name=\"lightblue\">["; 423 pfx = "<fg name=\"lightblue\">[Hint: ";
424 sfx = " (Use hintmode to suppress hints)]</fg>"; 424 sfx = "]</fg>";
425 } 425 }
426 } 426 }
427 break; 427 break;
428 428
429 case 'G': // gender 429 case 'G': // gender

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines