Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Yandex, DotBot, Bing

Members: 0
Guests: 12
Stats
Files
Topics
Posts
Members
Newest Member
481
3,739
19,386
619
Alexander
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » SmaugFUSS » top_sn = 0
Forum Rules | Mark all | Recent Posts

top_sn = 0
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Jun 5, 2006, 1:41 pm
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,874
JoinedJul 26, 2005

top_sn is used in lots of places to do with skills and their handling.
Yet in tables.c load_socials you will find
void load_socials(  )
{
   FILE *fp;

   if( ( fp = fopen( SOCIAL_FILE, "r" ) ) != NULL )
   {
      top_sn = 0;

Setting it to 0 while loading socials isn't needed and could have bad affects.
Also in tables.c load_commands you will find
void load_commands(  )
{
   FILE *fp;

   if( ( fp = fopen( COMMAND_FILE, "r" ) ) != NULL )
   {
      top_sn = 0;

Again setting it to 0 while loading commands isn't needed and could have bad affects.
       
Post is unread #2 Jun 28, 2006, 8:52 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,643
JoinedJan 1, 2002

Commands and socials are both loaded before the skill table, so this has no affect. It's just an irritation, not a bug. But I'll make the change anyway :)
       
Pages:<< prev 1 next >>