|ToME: the Tales of Maj'Eyal
|2.3.5 Piety display 64bit patch
|Page 1 of 1|
|Author:||elcugo [ Sun Sep 27, 2009 8:29 pm ]|
|Post subject:||2.3.5 Piety display 64bit patch|
A harmless but annoying 64bit display bug was bothering me, so i decided to hunt it and fix it. It's about the piety display that only affect 64 bits machines in 2.3.5.
diff -rU1 tome-235-src.orig/src/xtra1.c tome-235-src/src/xtra1.c
--- tome-235-src.orig/src/xtra1.c 2009-09-27 15:07:16.000000000 -0500
+++ tome-235-src/src/xtra1.c 2009-09-27 15:08:29.000000000 -0500
@@ -148,3 +148,3 @@
- sprintf(tmp, "%9ld", p_ptr->grace);
+ sprintf(tmp, "%9ld", (long) p_ptr->grace);
PS: I want to commit it, but instructions about checking out only version 2.3.x from CVS are gone, if some kind soul would post the instructions again I would be highly grateful.
|Author:||Nerdanel [ Mon Sep 28, 2009 3:57 pm ]|
Set the CVSROOT environment variable or include it in the command line (it's the same as with ToME 3) and then:
cvs checkout tome2
The CVS directory uses plain "tome" for the ToME 3 module, "t-engine" for the T-Engine, and "tome2" for the entire ToME 2.
|Author:||elcugo [ Tue Sep 29, 2009 4:02 am ]|
Ups! I completely missed your message. I commited the patch to the 2.3.x branch but I guess I should commit it to 2.x too (for 2.4?)
|Page 1 of 1||All times are UTC|
|Powered by phpBB® Forum Software © phpBB Group