
Pages:<< prev 1 next >>


Apprentice

GroupMembers
Posts78
JoinedAug 28, 2016
was using the Oasis OLC code submitted here by Vladaar and getting this
edit: This is the buildwalk part of the code
Anyone else used this on SmaugFUSS and get it working?
act_move.c:3383:14: error: ‘edir’ may be used uninitialized in this function [-Werror=maybe-uninitialized] move_char( ch, get_exit( ch->in_room, edir ), 0 ); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
edit: This is the buildwalk part of the code
Anyone else used this on SmaugFUSS and get it working?



Apprentice

GroupMembers
Posts78
JoinedAug 28, 2016
ok not sure if it is a 'solution', but I just commented out that line and everything works fine.


Apprentice

GroupMembers
Posts57
JoinedNov 24, 2016
Wherever edir was declared you should do...
Change it to short edir =0;
That initializes it.
I would uncomment that movechar call I'm sure you need it.
Change it to short edir =0;
That initializes it.
I would uncomment that movechar call I'm sure you need it.
Pages:<< prev 1 next >>