[CF-Devel] 'levels' variable question

crossfire-devel at archives.real-time.com crossfire-devel at archives.real-time.com
Mon Nov 3 15:43:36 CST 2003


Fun stuff in the code:

common/exp.c:32
	sint64 *levels;

common/living.c:162
	extern uint64 *levels;

I think the definition should be fixed in living.c to match that of exp.c

Weird though: under Windows, compilation error on living.c:1553 & 1554 (expmul * 
levels[level]), for a non-implemented __int64 (aka uint64) to double conversion.
But forcing conversion to signed int64, linking is fine even if 'levels' is not 
defined coherently... (uint64 in one file, sint64 in another...)

Nicolas 'Ryo'


_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list