Well tonight I got adventurous and I wanted to try and mess with the combat.
I changed this code.
* The moment of excitement!
while( ( diceroll = number_bits( 5 ) ) >= 20 )
/* if( diceroll == 0 || ( diceroll != 19 && diceroll < thac0 - victim_ac ) ) commented out in case I needed to add it back in */
if ((ch->level + wield->value) != (victim->perm_dex + victim_ac + victim->level) )
if( prof_gsn != -1 )
learn_from_failure( ch, prof_gsn );
damage( ch, victim, 0, dt );
It compiles fine and everything but when one attacks the mud crashes. I went into GDB and typed list and this is what came up X_X
Reading symbols from /home/dmud/smaugfuss19/src/smaug...done.
/home/dmud/smaugfuss19/src/core.20893: No such file or directory.
388 } /* cleanup memory */
390 #ifdef WIN32
391 int mainthread( int argc, char **argv )
393 int main( int argc, char **argv )
396 struct timeval now_time;
397 bool fCopyOver = FALSE;
I'm kind of confused as seeing how this isn't even the same code I messed with and it hotboots up just fine...
Any advice, I'd love to learn from my mistake and know what I did so I don't do it again!