Crossfire Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CF: cfclient on 64-bit machines?
I think the problem with crossfire-0.94.3.client (cfclient) under an
Alpha is the bit arithmatic. Are there assumptions being made that an
int is 32 bits?
x11.c:1267
if(cpl.stats.food<100 && (cpl.stats.food&4))
sprintf(buff,"Speed: %3.2f (%1.2f) Food: *%d* HUNGRY!",
(float)cpl.stats.speed/FLOAT_MULTF,
weap_sp,cpl.stats.food);
Alpha dies here. Intel works fine. I think the "cpl.stats.food&4"
bitwise and is the problem.
Not sure, but that is my best guess.
--
Bob Tanner <tanner@real-time.com> | Phone : (612)943-8700
http://www.real-time.com | Fax : (612)943-8500
Key fingerprint = 6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9
Follow-Ups: