ERRR! OK! This is strait from do_nanny:
 
--------------------[ beginning of code ]----------------------
...
     write_to_buffer(d,"The following classes are available:\n\r",0);
     pos = 0;
     for (iClass = 0; iClass < MAX_CLASS; iClass++ )
     {
                if (!class_table[iClass].remort_class ||
                   (class_table[iClass].remort_class && IS_SET(ch->act,PLR_REMORT)))
 
                if ( iClass > 0 )
      sprintf(newbuf, "%6s%-24s", " ", class_table[iClass].name);
      write_to_buffer(d,newbuf,0);
      pos++;
      if (pos >= 2) {
          write_to_buffer(d,"\n\r",0);
          pos = 0;
      }
     }
     newbuf[0] = '\0';
     write_to_buffer(d,"\n\r",0);
                send_to_desc(
                    "What is your class? ", d);
            d->connected = CON_GET_NEW_CLASS;
            break;
 
-----------------------[ end of code ]-------------------------
And everything works fine except for one thing...
It shows me this:
 
-------------------[ strait from telnet ]----------------------
 
The following classes are available:
      cleric
      thief                         warrior
 
What is your class?
 
---------------[ end of straight from telnet] -----------------
 
And, yes, I DO have mage... That's the problem.
It should look like:
 
----------------[ what it SHOULD look like ]-------------------
 
The following classes are available:
      cleric                       mage
      thief                         warrior
 
What is your class?
 
-------------[ end of what it SHOULD look like ]----------------
 
Am I not right?
Someone please help!
 
                                                                       - Oz

Reply via email to